Skip to content

Commit c9088e4

Browse files
committed
Update doc for the new enableManageAllContentPermission - PR 7329
1 parent eb6a15f commit c9088e4

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

docs/admin/config-options.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ Data Type: `Array`<br/>
4040
Default: `60 * 60 * 24 * 90`<br/>
4141
Data Type: `Integer`<br/>
4242

43+
**enableManageAllContentPermission** - Enable the "Manage All Content" Group Permission to manage all content (view, edit, move, archive, pin, etc.), even private content.<br/>
44+
Default: `false`<br/>
45+
Data Type: `Boolean`<br/>
46+
4347

4448
### Comment
4549

@@ -53,14 +57,6 @@ Data Type: `Integer`<br/>
5357

5458
### Content
5559

56-
**adminCanViewAllContent** - Global admin can see all content.<br/>
57-
Default: `false`<br/>
58-
Data Type: `Boolean`<br/>
59-
60-
**adminCanEditAllContent** - Global admin can edit/delete all content.<br/>
61-
Default: `true`<br/>
62-
Data Type: `Boolean`<br/>
63-
6460
**emailSubjectHourlyUpdate** - Custom e-mail subject for hourly update mails.<br/>
6561
Default: `empty`<br/>
6662
Data Type: `String`<br/>

docs/develop/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ The visibility of a content for a user can be validated by the `Content::canView
169169

170170
- Guests can only access public content of visible spaces/users or global content if "Guest Access" is enabled
171171
- Other users can access all public content within the network
172-
- System admins can access all content if the `adminCanViewAllContent` setting of the `content` modules is enabled (default)
173172
- All space members can read private space content
174173
- Non space members can only access public space content
175174
- Only friend users can access private profile content of a user.
175+
- If the "Manage All Content" Group Permission is enabled ([see configuration options](https://docs.humhub.org/docs/admin/config-options#admin)), it is possible to allow the members of certain Groups to manage all content (view, edit, move, archive, pin, etc.), even private content.
176176

177177
```php
178178
if(!$model->content->canView()) {

0 commit comments

Comments
 (0)