/** * * Get whether users belonging to the given role are allowed to write this object. Even if this * returns false, the role may still be able to write it if a parent role has write access. The * role must already be saved on the server and its data must have been fetched in order to use * this method. * * @param role The role to check for access. * @return true if the role has write access. false otherwise. */ public boolean getRoleWriteAccess(AVRole role) { String r = roleName(role.getName()); return getRoleWriteAccess(r); }
/** * * Get whether users belonging to the given role are allowed to write this object. Even if this * returns false, the role may still be able to write it if a parent role has write access. The * role must already be saved on the server and its data must have been fetched in order to use * this method. * * @param role The role to check for access. * @return true if the role has write access. false otherwise. */ public boolean getRoleWriteAccess(AVRole role) { String r = roleName(role.getName()); return getRoleWriteAccess(r); }