mirror of
https://github.com/strapi/strapi.git
synced 2025-12-05 19:42:05 +00:00
Merge pull request #15785 from strapi/fix/ce-audit-logs
Move audit logs permissions to EE
This commit is contained in:
commit
f63adf6b48
@ -34,10 +34,6 @@ const permissions = {
|
||||
uninstall: [{ action: 'admin::marketplace.plugins.uninstall', subject: null }],
|
||||
},
|
||||
settings: {
|
||||
auditLogs: {
|
||||
main: [{ action: 'admin::audit-logs.read', subject: null }],
|
||||
read: [{ action: 'admin::audit-logs.read', subject: null }],
|
||||
},
|
||||
roles: {
|
||||
main: [
|
||||
{ action: 'admin::roles.create', subject: null },
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
const customPermissions = {
|
||||
settings: {
|
||||
auditLogs: {
|
||||
main: [{ action: 'admin::audit-logs.read', subject: null }],
|
||||
read: [{ action: 'admin::audit-logs.read', subject: null }],
|
||||
},
|
||||
sso: {
|
||||
main: [{ action: 'admin::provider-login.read', subject: null }],
|
||||
read: [{ action: 'admin::provider-login.read', subject: null }],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user