API change by Administrator requires approval, why?
Permalink
I have imported several hundred pages from a different C5 install. Me and a couple of colleagues now have to review each page. To speed things up, I'm displaying a "Review passed" button on the page. The code behind the button sets a page attribute to "OK":
This works great for me when I'm logged in as the admin user. However, neither of my colleagues (who are all in the "Administrators" group) can do this right away: I (the "admin" user) see the blue "this page is pending approval" bar and have to approve each change manually.
I activated extended permissions: the Administrators group specifically has the right to approve edits.
What do I need to change so the attribute change is automatically activated for "Administrators" group members, as well?
$p->setAttribute("review_passed", "OK");
I activated extended permissions: the Administrators group specifically has the right to approve edits.
What do I need to change so the attribute change is automatically activated for "Administrators" group members, as well?