PHPackages                             icybee/module-users - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. icybee/module-users

ActiveIcanboogie-module[Authentication &amp; Authorization](/categories/authentication)

icybee/module-users
===================

Manages the users of the CMS Icybee

v3.0.0(9y ago)01.9k3BSD-3-ClausePHPPHP &gt;=5.5

Since Dec 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Icybee/module-users)[ Packagist](https://packagist.org/packages/icybee/module-users)[ RSS](/packages/icybee-module-users/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (6)Versions (6)Used By (3)

Users
=====

[](#users)

[![Release](https://camo.githubusercontent.com/570260e4ca6947fb2ee23b17b251f14a1a9686e7d7039a8256698a2551366ca0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6963796265652f6d6f64756c652d75736572732e737667)](https://github.com/Icybee/module-users/releases)[![Build Status](https://camo.githubusercontent.com/28880716a9d49bd61a76b6f68f70eeb6521d7dfd523ee57fe91ae0bc7f24b695/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4963796265652f6d6f64756c652d75736572732e737667)](http://travis-ci.org/Icybee/module-users)[![Code Quality](https://camo.githubusercontent.com/2f832f572d1cf4b66d94499b96b3ade39aaa71187647294b9dee0aa9af0a082e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4963796265652f6d6f64756c652d75736572732e737667)](https://scrutinizer-ci.com/g/Icybee/module-users)[![Code Coverage](https://camo.githubusercontent.com/bfe65a53aef864be11bf75789be8d53a33e4062683e24323410e1173067a32ca/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f4963796265652f6d6f64756c652d75736572732e737667)](https://coveralls.io/r/Icybee/module-users)[![Packagist](https://camo.githubusercontent.com/ba5cd6cf8fe78595e5756f98d005cee3ea58d1d016551db1a46826e963093b8a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6963796265652f6d6f64756c652d75736572732e737667)](https://packagist.org/packages/icybee/module-users)

Manages users of the CMS Icybee.

Permission and Ownership
------------------------

[](#permission-and-ownership)

The actions a user can perform are determined by the permission which are granted to him, or the fact that he is the owner or not of a record.

Two methods are used to determine if a user has a specific permission, or if he is the owner of a record. In order to best suit the many different situations, plugins are used to help.

### Determine a user's permission

[](#determine-a-users-permission)

The method `has_permission()` determines if a user has a specific permission. This permission can be relative to a target, a module for instance.

The following example demonstrates how to verify is a user has the permission to update his own profile, or if he has the permission to administer the module Users.

```
