Class ModifyProjectPermission

    • Method Detail

      • customPermissionAllowed

        public boolean customPermissionAllowed​(org.springframework.security.core.Authentication authentication,
                                               Project p)
        This method is called by RepositoryBackedPermission to evaluate the custom permissions provided by implementing classes.
        Specified by:
        customPermissionAllowed in class RepositoryBackedPermission<Project,​java.lang.Long>
        Parameters:
        authentication - the authenticated user.
        p - the object that the user is attempting to access.
        Returns:
        true if permitted, false otherwise.