fix(acl): logged in users are allowed to view map configuration
This commit is contained in:
parent
dd157e2fd0
commit
ab85deae64
@ -33,8 +33,10 @@ export class MapPlugin extends Plugin {
|
||||
|
||||
this.app.acl.registerSnippet({
|
||||
name: `pm.${this.name}.configuration`,
|
||||
actions: ['map-configuration:*'],
|
||||
actions: ['map-configuration:set'],
|
||||
});
|
||||
|
||||
this.app.acl.allow('map-configuration', 'get', 'loggedIn');
|
||||
}
|
||||
|
||||
async install(options?: InstallOptions) {}
|
||||
|
Loading…
Reference in New Issue
Block a user