It would be immensely useful to have a new type of wiki right which only grants the bare minimum permissions for things to work in the wiki (macros, editor, theming, icons, etc.) without giving viewing rights to the users/groups by default. Currently the default for VIEW is ALLOWED (see Permissions types which is very annoying if one needs to only share one space in a wiki with a user/group, because it means denying this user/group access to all the other spaces in the wiki manually.
Two things could be done IMO:
add a new permission which does this
change default behaviour of VIEW right on wiki level
@Qua8zoh6 the things are very simple here: you can have 2 groups GroupOne and GroupTwo. You will give View rights at wiki level to GroupOne and implicitly the View will be denied at wiki level for GroupTwo - no need explicitly deny anything. (In fact, you should try to use only Allow operation. You can consider a good rights design, if you manage to not use Deny). Then, in any space you need, you will grant view to both GroupOne and GroupTwo.
Thank you very much, this is indeed very helpful! Did you set all the rights objects manually or via a custom script? I’m asking because we intend to do something very similar, but for single users outside of our internal groups and would like to create a script for this purpose.
Thanks, but this does not solve my problem at all. As explained in my post, this kind of access does not show the navigation panel for example, which makes navigating the space(s) more difficult. Also, if EDIT rights were granted like this, CKEditor would not work, since VIEW on CKEditor is necessary for this. That’s why I asked for a set of minimum permissions, since the space’s EDIT permission alone would not be enough.
To sum it up: what I’d like to have is a “wiki view permission” which only grants access to the core functionality of a wiki without the actual content. So this permission should consist of a list of things which was posted by @Simpel above.