Interface AutomationPermissionService

All Known Implementing Classes:
AutomationPermissionServiceImpl

public interface AutomationPermissionService
  • Method Details

    • hasEditRulePermissionAsProjectAdmin

      boolean hasEditRulePermissionAsProjectAdmin(TenantContext context, RemoteConnectUser user, Long projectId)
      Does passed in user have permission to edit/create rules in project scope
      Parameters:
      context - context of the tenant
      user - the user to check for
      projectId - given project to check for
      Returns:
      true if user has permission
    • hasImpersonateUsersPermission

      boolean hasImpersonateUsersPermission(RemoteConnectUser user, Optional<Long> projectIdOpt)
      Does passed in user have permission to impersonate other users via rule actor
      Parameters:
      user - the user to check for
      projectIdOpt - given project to check for
      Returns:
      true if user has permission