durkine Posted August 19, 2009 Share Posted August 19, 2009 Hi,I removed all access permissions for all roles in a folder by setting all roles to "no access". Now none of the users can see the folder, even the admin user.Is it possible to view/retrieve this folder again, even at a database level?Thanks, Link to comment Share on other sites More sharing options...
mdjj Posted August 19, 2009 Share Posted August 19, 2009 Code:I think I'm right in saying that at a database level folder and resource permissions are stored in the jiobjectpermission table. You'll probably find that for your folder (the uri column) the permissionMask column has values of 0 meaning each roleid in the recipientobjectid column has no access. Simply change the permission mask back to a suitable value for each role (probably 1 for administrator and 2 for role_user). Link to comment Share on other sites More sharing options...
mdjj Posted August 19, 2009 Share Posted August 19, 2009 Sorry that wasn't code, pasted it in the wrong field!!!I think I'm right in saying that at a database level folder and resource permissions are stored in the jiobjectpermission table. You'll probably find that for your folder (the uri column) the permissionMask column has values of 0 meaning each roleid in the recipientobjectid column has no access.Simply change the permission mask back to a suitable value for each role (probably 1 for administrator and 2 for role_user). Link to comment Share on other sites More sharing options...
durkine Posted August 19, 2009 Author Share Posted August 19, 2009 Thanks, I will try that. Link to comment Share on other sites More sharing options...
durkine Posted August 25, 2009 Author Share Posted August 25, 2009 Hi,That worked, thank you.Regards, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now