Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v.17] Update doc for the new enableManageAllContentPermission - PR 7329 #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions docs/admin/config-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ Data Type: `Array`<br/>
Default: `60 * 60 * 24 * 90`<br/>
Data Type: `Integer`<br/>

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


### Comment

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

### Content

**adminCanViewAllContent** - Global admin can see all content.<br/>
Default: `false`<br/>
Data Type: `Boolean`<br/>

**adminCanEditAllContent** - Global admin can edit/delete all content.<br/>
Default: `true`<br/>
Data Type: `Boolean`<br/>

**emailSubjectHourlyUpdate** - Custom e-mail subject for hourly update mails.<br/>
Default: `empty`<br/>
Data Type: `String`<br/>
Expand Down
2 changes: 1 addition & 1 deletion docs/develop/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ The visibility of a content for a user can be validated by the `Content::canView

- Guests can only access public content of visible spaces/users or global content if "Guest Access" is enabled
- Other users can access all public content within the network
- System admins can access all content if the `adminCanViewAllContent` setting of the `content` modules is enabled (default)
- All space members can read private space content
- Non space members can only access public space content
- Only friend users can access private profile content of a user.
- 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.

```php
if(!$model->content->canView()) {
Expand Down