summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Psecio/Gatekeeper/UserModel.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Psecio/Gatekeeper/UserModel.php b/src/Psecio/Gatekeeper/UserModel.php
index 75607f4..87a0d4e 100644
--- a/src/Psecio/Gatekeeper/UserModel.php
+++ b/src/Psecio/Gatekeeper/UserModel.php
@@ -361,6 +361,11 @@ class UserModel extends \Psecio\Gatekeeper\Model\Mysql
return ($throttle->attempts === null) ? 0 : $throttle->attempts;
}
+ /**
+ * Grant permissions and groups (multiple) at the same time
+ *
+ * @param array $config Configuration settings (permissions & groups)
+ */
public function grant(array $config)
{
if (isset($config['permissions'])) {