I do not see authenticated user among the roles I can grant permissions to. I am creating a wiki and I would like to grant permission to all logged in users for the wiki book.

Comments

josesanmartin’s picture

Category: bug » feature

This is by design, but we'll consider a feature request.

josesanmartin’s picture

By the way, are you really sure you need access control in your very specific case? A wiki is by definition the absence of access control. Maybe you just want to create a different content type and enable book characteristics to it.

optidel’s picture

Our wiki needs a hierarchy and so our preference is for creating the wiki using books. In fact many of the articles about creating wikis using Drupal advise using books. So it will be great if you could add this feature to this module.

franz’s picture

maragnis, what zsanmartin suggested is that you can create a separate content type, let's say, "wiki page", and then go here:

admin/content/book/settings

and enable it to use book outlines. That way it will work just like normal book pages, and it is semantically better for your site setting to have a different content type for a wiki.

optidel’s picture

franz,

I do have a content type called wiki and I have enabled it to use book outlines. No issues in that. The problem is that I want some portions of the wiki to be editable by all authenticated users and some only by some roles.

This module almost meets the requirements except that it does not give any permissions to the default "Authenticated User" role. It gives permissions only for the user created roles. So I am requesting if that can be done here.

franz’s picture

I see the point. But I do think it will break the user-friendliness... Imagine a end-user being prompted to chose between self-explanatory roles and finds an obscure "authenticated user".

Some possible workarounds:

1) The worst would be to create yet another content type, but I thinks that's out of question, and it wouldn't be flexible.

2) Have an option to select per content in which if there is no role delegated, then it's delegated to authenticated.

3) Have the simple "authenticated user" role to be chosen for every book page.

That's all I can think for now.

optidel’s picture

The "User Permission" pages has "Autherticated User" in addition to the user created roles. As far as I know this is the only module that excludes Authenticated User from that list.

Also mostly it is the administrators who are going to be giving the permissions and I am pretty sure that they would understand "Autheticated User".

franz’s picture

Status: Active » Fixed

Ok, you convinced me. =) Commited the changes.

optidel’s picture

Thank you. Now I will be using this module in my website.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.