Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(profile): add permission to read task statuses for agents
Browse files Browse the repository at this point in the history
Signed-off-by: Domingo Oropeza <doropeza@teclib.com>
  • Loading branch information
DIOHz0r committed Dec 4, 2018
1 parent 5784f4b commit 57bb7c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/install.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ protected function createAgentProfileAccess() {
PluginFlyvemdmPackage::$rightname => READ,
PluginFlyvemdmEntityConfig::$rightname => READ,
PluginFlyvemdmGeolocation::$rightname => CREATE,
PluginFlyvemdmTaskstatus::$rightname => UPDATE,
PluginFlyvemdmTaskstatus::$rightname => READ | UPDATE,
]);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/suite-integration/ProfileRight.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function testAgentProfileRights() {
\PluginFlyvemdmFile::$rightname => READ,
\PluginFlyvemdmEntityConfig::$rightname => READ,
\PluginFlyvemdmGeolocation::$rightname => CREATE,
\PluginFlyvemdmTaskstatus::$rightname => UPDATE,
\PluginFlyvemdmTaskstatus::$rightname => READ | UPDATE,
];

$profileRight = $this->newTestedInstance();
Expand Down

0 comments on commit 57bb7c1

Please sign in to comment.