Interface PermissionsCapableAsset

    • Method Detail

      • isCurrentUserCanRead

        boolean isCurrentUserCanRead()
        Returns:
        Returns true if current user has read access to this asset
      • isCurrentUserCanWrite

        boolean isCurrentUserCanWrite()
        Returns:
        Returns true if current user has write access to this asset
      • isUserCanRead

        boolean isUserCanRead​(java.lang.String username)
        Parameters:
        username -
        Returns:
        Returns true if given user has read access to this asset
      • isUserCanWrite

        boolean isUserCanWrite​(java.lang.String username)
        Parameters:
        username -
        Returns:
        Returns true if given user has write access to this asset