Interface AutomationPermissionService
- All Known Implementing Classes:
AutomationPermissionServiceImpl
public interface AutomationPermissionService
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhasEditRulePermissionAsProjectAdmin(TenantContext context, RemoteConnectUser user, Long projectId) Does passed in user have permission to edit/create rules in project scopebooleanhasImpersonateUsersPermission(RemoteConnectUser user, Optional<Long> projectIdOpt) Does passed in user have permission to impersonate other users via rule actor
-
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 tenantuser- the user to check forprojectId- given project to check for- Returns:
- true if user has permission
-
hasImpersonateUsersPermission
Does passed in user have permission to impersonate other users via rule actor- Parameters:
user- the user to check forprojectIdOpt- given project to check for- Returns:
- true if user has permission
-