Forum OpenACS Development: User has know permission to its object_id

Hi there,
I've read the documentation, I understand how permissions function, but still, I was wondering why ad_proc permission::permission_p would return 1 to the user itself as admin of its own object_id ?

permission::permission_p -party_id $user_id -object_id $user_id -privilege admin

Best wishes,

Posted by Iuri Sampaio on
I may use ad_proc permission::write_permission_p -object_id $user_id -party_id $user_id. I returns 1 as expected.
Posted by Gustaf Neumann on
You can check the permissions on the /permissions page (part of acs-subsite). if you check for permissions for your own user_id, you will see that there are direct permissions for "read" and "write", but not for "admin". Nothing hinders you to give other privileges (like "admin") to a user as well.