Hi Folks,
Got something weird. I have permissions setup like so: A 'Publisher' role that is given admin. permissions and then users assigned to that role. So I added a user to the publisher role at the site level as they had alot of work to do across a site. That's done and went to remove them. Instead I get a bunch of errors:
[codebox] WARNING: Unable to set role for "DIV Content", permission denied [SYS0313]
Reported 14th Apr 2008 2:28pm
WARNING: Unable to set role for "Content DIV 8519", permission denied [SYS0313]
Reported 14th Apr 2008 2:28pm[/codebox]
Etc for what looks like every asset under the site and the user hasn't been removed from the site's 'Publisher' role
Any Idea what is 'up'?
K
Two possibilities: someone had the permissions lock on the assets already, so your HIPO failed. Try running it again to see if it works a second time. Or, the assets may not be in an editable state (archived, or perhaps workflow applied). The easiest way to check is to look at the assets that gave you a permission denied error in the HIPO to see if you can determine why you can't modify the permissions.
Hi Avi
No asset has an archived status and there is no workflow applied. In the HIPO screen there are no active or orphaned jobs. Have just tried it again and same result. This time errors all seem related to assets which are linked under this site but also under another site (people profile pages that I don't want multiple copies of) but the user is still not removed from role of the other assets that aren't linked elsewhere...
Interesting. Can you remove the role directly on an asset that is causing problems? Do you see anything else in the error.log file that may indicate the cause?
er... Ok tried one of the profile pages and the user wasn't under the role. Went to the top level standard page under which the DIV giving the error above exists and yeah can remove the user from the role at that level - just not from the site.
Error.log: just gives the same info i.e.
22:42:05 - 14 Apr
User: Root User (12)
Level: MySource Warning
(/core/include/locale_manager.inc:504) - Unable to set role for "Content DIV 1066", permission denied [SYS0313]
22:42:06 - 14 Apr
User: Root User (12)
Level: MySource Warning
(/core/include/locale_manager.inc:504) - Unable to set role for "Page Contents", permission denied [SYS0313]
....have had errors like this before but never on this scale. Is there a way of wiping the permissions entirely (maybe at the DB level?) and I can reinstate them?
K
This is a role assignment, not permissions, so you'd want to do the role removal - and yes, you can do this at a DB level. I'd contact Squiz support anyway, so that they can investigate why the HIPO isn't working first and if necessary, remove the roles in a more dramatic fashion. :)