Interface PlatformContentItemPermissionHandler


  • public interface PlatformContentItemPermissionHandler
    Author:
    Filip Hrisafov
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accessContentItem​(com.flowable.core.content.api.CoreContentItem contentItem, java.lang.String scopeId, java.lang.String scopeType, com.flowable.core.common.api.security.SecurityScope securityScope)
      Whether the security scope has access to the content item with the requested scope
    • Method Detail

      • accessContentItem

        boolean accessContentItem​(com.flowable.core.content.api.CoreContentItem contentItem,
                                  java.lang.String scopeId,
                                  java.lang.String scopeType,
                                  com.flowable.core.common.api.security.SecurityScope securityScope)
        Whether the security scope has access to the content item with the requested scope
        Parameters:
        contentItem - the content item being requested, never null
        scopeId - the scope id
        scopeType - the scope type
        securityScope - the user security scope
        Returns:
        true if the security scope has access to the content item, false otherwise