fixes #3 - setResourcePermissions() allows re-setting of current direct permissions when grantor does not have granting rights and correctly handles up/downgrade of permissions with grant
fixes #5 - setResourceCreatePermissions() strictly validates requested create permissions against specified resource class
fixes #4 - setResourceCreatePermissions() allows re-setting of current direct create permissions when grantor does not have granting rights and correctly handles up/downgrade of permissions with grant
fixes #6 - setGlobalResourcePermissions() allows re-setting of current direct global permissions when grantor does not have granting rights and correctly handles up/downgrade of permissions with grant