diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-23 09:49:26 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-23 09:49:26 -0400 |
commit | 7b53d47d467115a173c642526a7d2474a22f88fb (patch) | |
tree | 43bd4f9c16d894028977f2d61476e74778527993 /app/Model | |
parent | a7167f63c51a5fc24f7d5c6212cd125cee8cdb69 (diff) |
Improve user interface
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/Acl.php | 13 | ||||
-rw-r--r-- | app/Model/Base.php | 4 |
2 files changed, 6 insertions, 11 deletions
diff --git a/app/Model/Acl.php b/app/Model/Acl.php index be32196a..c6ed8686 100644 --- a/app/Model/Acl.php +++ b/app/Model/Acl.php @@ -32,9 +32,10 @@ class Acl extends Base 'app' => array('index'), 'board' => array('index', 'show', 'assign', 'assigntask', 'save', 'check'), 'project' => array('tasks', 'index', 'forbidden', 'search'), - 'comment' => array('save', 'confirm', 'remove', 'update', 'edit'), 'user' => array('index', 'edit', 'update', 'forbidden', 'logout', 'index', 'unlinkgoogle'), 'config' => array('index', 'removeremembermetoken'), + 'comment' => array('create', 'save', 'confirm', 'remove', 'update', 'edit', 'forbidden'), + 'file' => array('create', 'save', 'download', 'confirm', 'remove', 'open', 'image'), 'task' => array( 'show', 'create', @@ -45,17 +46,11 @@ class Acl extends Base 'confirmclose', 'open', 'confirmopen', - 'description', 'duplicate', 'remove', 'confirmremove', - 'file', - 'upload', - 'download', - 'openfile', - 'image', - 'removefile', - 'confirmremovefile', + 'editdescription', + 'savedescription', ), ); diff --git a/app/Model/Base.php b/app/Model/Base.php index fef2ddbb..e95296bb 100644 --- a/app/Model/Base.php +++ b/app/Model/Base.php @@ -30,7 +30,7 @@ abstract class Base * Database instance * * @access protected - * @var PicoDb + * @var \PicoDb\Database */ protected $db; @@ -38,7 +38,7 @@ abstract class Base * Event dispatcher instance * * @access protected - * @var Core\Event + * @var \Core\Event */ protected $event; |