this JSlinted for operation editAccessRights, need to test more