Hi,
Users that have permissions to add / edit nodes will see the subsites selection form element, regardless of whether they should be allowed to or not.
The included patch adds a permission check before showing the form elements.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | subsites_form_alter_perm_0.patch | 1.82 KB | svendecabooter |
| subsites_form_alter_perm.patch | 1.61 KB | svendecabooter |
Comments
Comment #1
svendecabooterPerhaps it would be better to add more fine-grained control to this, as there are probably use cases where users are allowed to assign content to a subsite, without giving them full "administer subsites" permissions.
Attached a new version of the patch...
Comment #2
davyvdb commentedCommited, thx!