Class UpdateSequencingRunPermission

    • Method Detail

      • customPermissionAllowed

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

        public java.lang.String getPermissionProvided()
        Get the implementation-specific permission provided.
        Returns:
        the permission provided by the permission class.