/** * Set whether users belonging to the role with the given roleName are allowed to read this * object. * * @param roleName The name of the role. * @param allowed Whether the given role can read this object. */ public void setRoleReadAccess(String roleName, boolean allowed) { allowRead(allowed, getRoleTagKey(roleName)); }
/** * Set whether users belonging to the role with the given roleName are allowed to write this * object. * * @param roleName The name of the role. * @param allowed Whether the given role can write this object. */ public void setRoleWriteAccess(String roleName, boolean allowed) { allowWrite(allowed, getRoleTagKey(roleName)); }
/** * Set whether users belonging to the role with the given roleName are allowed to read this * object. * * @param roleName The name of the role. * @param allowed Whether the given role can read this object. */ public void setRoleReadAccess(String roleName, boolean allowed) { allowRead(allowed, getRoleTagKey(roleName)); }
/** * Set whether users belonging to the role with the given roleName are allowed to write this * object. * * @param roleName The name of the role. * @param allowed Whether the given role can write this object. */ public void setRoleWriteAccess(String roleName, boolean allowed) { allowWrite(allowed, getRoleTagKey(roleName)); }