dokuwiki-plugin-struct
dokuwiki-plugin-struct copied to clipboard
Accept %page% in allowed_editors
I'd like to give users a way to edit some of the information we hold about them, but only some of it. To be able to aggregate the reports, we need these schemas to be on the same page, and I can give other edit access to people using groups, but the page name is also the username, so it would be useful if I could add a user to the list of allowed_editors for the schema by including %page% (doesn't need the namespace, so not %pageid%).
If not, is there a better way of doing this while still retaining the ability to aggregate from the schemas that are assigned to the page about each user?
I'm somewhat reluctant to make stuff that checks permissions based on placeholders. It makes it hard to know what the permissions will be in the end.
This might help: https://www.dokuwiki.org/plugin:structacl
This plugin lets you give additional write permissions to users / groups specified in a struct field, e.g. editors.
This plugin lets you give additional write permissions to users / groups specified in a struct field, e.g. editors.
Hi, @annda. It looks as though that plugin gives permissions to edit the whole page, but I'd like to restrict the access to just some of the struct schemas on the page.