Class ReadProjectMetadataResponsePermission

    • Field Detail

      • PERMISSION_PROVIDED

        public static final java.lang.String PERMISSION_PROVIDED
        See Also:
        Constant Field Values
    • Method Detail

      • isAllowed

        public boolean isAllowed​(org.springframework.security.core.Authentication authentication,
                                 java.lang.Object targetDomainObject)
        Description copied from interface: BasePermission
        Is the authenticated user allowed to perform some action on the target domain object?
        Specified by:
        isAllowed in interface BasePermission<ProjectMetadataResponse>
        Parameters:
        authentication - the authenticated user.
        targetDomainObject - the object the user is requesting to perform an action on.
        Returns:
        true if the action is allowed, false otherwise.