1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-10 16:14:20 +02:00

Version 1.3.8: Roles and Rights

This commit is contained in:
trendschau
2020-07-16 12:53:08 +02:00
parent 18c3af69c5
commit 93afe9f845
5 changed files with 17 additions and 11 deletions

View File

@@ -213,7 +213,7 @@ class Settings
$editor['permissions'] = [ 'mycontent' => ['delete', 'publish', 'unpublish'],
'content' => ['create', 'update', 'delete', 'publish', 'unpublish']];
return [$member, $author, $editor];
return ['member' => $member,'author' => $author, 'editor' => $editor];
}
public static function createAcl($roles, $resources)