-
-
Notifications
You must be signed in to change notification settings - Fork 135
/
Copy pathPolicy.yaml
43 lines (32 loc) · 1.41 KB
/
Policy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# #
# Security policy for the Neos.Neos.Ui package #
# #
---
privilegeTargets:
'Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilege':
'Neos.Neos.Ui:BackendLogin':
matcher: 'method(Neos\Neos\Ui\Controller\LoginController->(index|authenticate)Action()) || method(Neos\Flow\Security\Authentication\Controller\AbstractAuthenticationController->authenticateAction())'
'Neos.Neos.Ui:Backend.GeneralAccess':
matcher: 'method(Neos\Neos\Ui\Controller\BackendController->.*())'
'Neos.Neos.Ui:Backend.ServiceAccess':
matcher: 'method(Neos\Neos\Ui\Controller\BackendServiceController->.*())'
'Neos\Neos\Security\Authorization\Privilege\ModulePrivilege':
'Neos.Neos.Ui:Backend.Module.Content':
matcher: 'content'
roles:
'Neos.Flow:Everybody':
privileges:
-
privilegeTarget: 'Neos.Neos.Ui:BackendLogin'
permission: GRANT
'Neos.Neos:AbstractEditor':
privileges:
-
privilegeTarget: 'Neos.Neos.Ui:Backend.Module.Content'
permission: GRANT
-
privilegeTarget: 'Neos.Neos.Ui:Backend.GeneralAccess'
permission: GRANT
-
privilegeTarget: 'Neos.Neos.Ui:Backend.ServiceAccess'
permission: GRANT