/** * Get whether the given user id is *explicitly* allowed to write this object. Even if this * returns false, the user may still be able to write it if getPublicWriteAccess returns true or a * role that the user belongs to has write access. */ public boolean getWriteAccess(AVUser user) { return getWriteAccess(user.getObjectId()); }
/** * Get whether the given user is *explicitly* allowed to write this object. Even if this returns * false, the user may still be able to write it if getPublicWriteAccess returns true or a role * that the user belongs to has write access. * * @param user user to check * @return Get whether the given user is *explicitly* allowed to write this object */ public boolean getWriteAccess(AVUser user) { return getWriteAccess(user.getObjectId()); }