]> git.mxchange.org Git - friendica.git/blob - doc/database/db_permissionset.md
Merge pull request #12593 from nupplaphil/feat/node.config.php
[friendica.git] / doc / database / db_permissionset.md
1 Table permissionset
2 ===========
3
4
5
6 Fields
7 ------
8
9 | Field     | Description                                            | Type               | Null | Key | Default | Extra          |
10 | --------- | ------------------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |
11 | id        | sequential ID                                          | int unsigned       | NO   | PRI | NULL    | auto_increment |
12 | uid       | Owner id of this permission set                        | mediumint unsigned | NO   |     | 0       |                |
13 | allow_cid | Access Control - list of allowed contact.id '<19><78>' | mediumtext         | YES  |     | NULL    |                |
14 | allow_gid | Access Control - list of allowed groups                | mediumtext         | YES  |     | NULL    |                |
15 | deny_cid  | Access Control - list of denied contact.id             | mediumtext         | YES  |     | NULL    |                |
16 | deny_gid  | Access Control - list of denied groups                 | mediumtext         | YES  |     | NULL    |                |
17
18 Indexes
19 ------------
20
21 | Name                                      | Fields                                                        |
22 | ----------------------------------------- | ------------------------------------------------------------- |
23 | PRIMARY                                   | id                                                            |
24 | uid_allow_cid_allow_gid_deny_cid_deny_gid | uid, allow_cid(50), allow_gid(30), deny_cid(50), deny_gid(30) |
25
26 Foreign Keys
27 ------------
28
29 | Field | Target Table | Target Field |
30 |-------|--------------|--------------|
31 | uid | [user](help/database/db_user) | uid |
32
33 Return to [database documentation](help/database)