dokuwiki-plugin-struct icon indicating copy to clipboard operation
dokuwiki-plugin-struct copied to clipboard

Accept %page% in allowed_editors

Open iainhallam opened this issue 8 years ago • 3 comments

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?

iainhallam avatar Apr 23 '17 19:04 iainhallam

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.

splitbrain avatar Apr 27 '17 13:04 splitbrain

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.

annda avatar Nov 14 '23 21:11 annda

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.

iainhallam avatar Nov 18 '23 16:11 iainhallam