diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-11-30 20:21:44 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-12-22 18:34:45 +0100 |
commit | 453f3beffaf629efa5c715f7ca88b5c0a1034af8 (patch) | |
tree | 68dce83e8613a7dd8321d53567a8f745c46d8266 /lib/public/GroupInterface.php | |
parent | 7130fa7b4cddd35e9275f7453593049c1e989562 (diff) | |
download | nextcloud-server-453f3beffaf629efa5c715f7ca88b5c0a1034af8.tar.gz nextcloud-server-453f3beffaf629efa5c715f7ca88b5c0a1034af8.zip |
Adding group display name support
Diffstat (limited to 'lib/public/GroupInterface.php')
-rw-r--r-- | lib/public/GroupInterface.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/GroupInterface.php b/lib/public/GroupInterface.php index 6f456f51fd7..97837e50b16 100644 --- a/lib/public/GroupInterface.php +++ b/lib/public/GroupInterface.php @@ -41,6 +41,18 @@ namespace OCP; interface GroupInterface { /** + * actions that user backends can define + */ + const CREATE_GROUP = 0x00000001; + const DELETE_GROUP = 0x00000010; + const ADD_TO_GROUP = 0x00000100; + const REMOVE_FROM_GOUP = 0x00001000; // oops + const REMOVE_FROM_GROUP = 0x00001000; + //OBSOLETE const GET_DISPLAYNAME = 0x00010000; + const COUNT_USERS = 0x00100000; + const GROUP_DETAILS = 0x01000000; + + /** * Check if backend implements actions * @param int $actions bitwise-or'ed actions * @return boolean |