Loading...
 
[Show/Hide Left Column]
[Show/Hide Right Column]

Features / Usability Help

Forums » Features / Usability» Groups and Permissions question

Groups and Permissions question

ricks99 posts: 2906 5 stars Send eMail to User user offline United States

cry I'm having problems getting my permissions to work properly...

I have Anonymous users who have read-only access to my wiki pages. Registered users have full edit access to my wiki pages.

However, there are some pages that I want to give write access to only specific groups. So on the page's permission, I assigned tiki_p_edit to the group Foo for the page. But now, no one (neither Anonymous nor Registered) can even see the page.

Surely I'm doing something wrong..... I want all users who are not in group Footo still have all read permissions.


chibaguy posts: 2866 4 stars user offline Japan

Try explicitly setting tiki_p_view for Anonymous on those pages. I ran into the same problem. I don't know if how Tiki handles perms changed at some point, but I also found that when I set an edit permission for one group, then other groups could no longer view the page, which is not the way I recall things working before.

-- Gary


ricks99 posts: 2906 5 stars Send eMail to User user offline United States

Yes, this works, but.... I also want Anonymous users to read comments (tiki_p_wiki_view_comments), attachments (tiki_p_view_attachments), and several other things. If I have to assign my permissions on a page-by-page basis, what's the point of having groups?

It appears (to me) that the page-specific permissions override the standard permissions, instead of working in tandem (which is what I would expect).

-Rick

> Try explicitly setting tiki_p_view for Anonymous on those pages. I ran into the same problem. I don't know if how Tiki handles perms changed at some point, but I also found that when I set an edit permission for one group, then other groups could no longer view the page, which is not the way I recall things working before.
>
> — Gary



posts: 131 3 stars Send eMail to User user offline Singapore

I understand how you feel on permissions assignment as I have the same problem as you do. See my post here.

Colorado suggested using Categories to control the permission assignment, but Gary (and I) has tried it without achieving the effect intended. The tedious way out is to assign specific permissions to users in the wiki pages.

I have tried setting up the Category (v1.9.1) to have 2 category objects - public and internal- and then assign Anonoymous and Registered permission rights respectively in the Category permission settings for a specific user. i think that by creating a separate Internal and Public category would circumvent the issue of permission assignment. Putting documents/objects you want a group to view only in Public category seems to work. Not only that the Internal category does not display, even if the objects display, they are denied access with a "permission denial" page. Using search function to try and see whether it can uncover the page would turn in a negative search results also. This might not be a good way but so far it works to my expectation. Gary might have some reservation here....wink

I would love if someone can throw more light into this...

-- kwow


chibaguy posts: 2866 4 stars user offline Japan

> Gary might have some reservation here....wink

http://zukakakina.com/tiki-index.php?page=PermsTest

I think associating permissions with Tiki Categories is a work in progress, or at least a goal, but in the testing I did with 1.9.1 or so, pages didn't take on the perms of other pages in a Category. Am I missing something?

-- Gary



sylvie posts: 1090 3 stars user offline

As soon as you set a perm on a page, all others perms rules are ignored
I did this on the page with 1.9.2
Anonymous tiki_p_view
Anonymous tiki_p_wiki_view_comments
Teachers tiki_p_edit
Teachers tiki_p_view

Anononymous and registered can see page but can't edit
Anononymous and registered can see comment but can edit if tiki_p_edit_comment is on , can't edit otherwise.
Teachers user can see and edit page and comment

Note that I did a couple of perms fixes for 1.9.2. The fixes were to distinguish comment perms and forums perms. Please tell me if more issue on 1.9.2.

sylvie

PS: in 1.10 if everything is going right we will introduce the notion of perm set. A perm set is a list of perms (for instance the perms above will be able to be set with one click), like this it will be easier to configure perms


ricks99 posts: 2906 5 stars Send eMail to User user offline United States

> As soon as you set a perm on a page, all others perms rules are ignored

So there's no concept of a global or default set of permissions? The only way is to explicitly assign all the individual permissions on a page-by-page basis? That seems like a lot of work to me.... sad


sylvie posts: 1090 3 stars user offline

> > As soon as you set a perm on a page, all others perms rules are ignored
>
> So there's no concept of a global or default set of permissions? The only way is to explicitly assign all the individual permissions on a page-by-page basis? That seems like a lot of work to me.... sad
Yes the categories system must be changed a little bit to be able to do that - add a tiki_p_edit_categories
On the list for 1.10 too

sylvie


ricks99 posts: 2906 5 stars Send eMail to User user offline United States

Thanks Sylvie. Is there a list of proposed or pending 1.10 features?

-Rick


> > > As soon as you set a perm on a page, all others perms rules are ignored
> >
> > So there's no concept of a global or default set of permissions? The only way is to explicitly assign all the individual permissions on a page-by-page basis? That seems like a lot of work to me.... sad
> Yes the categories system must be changed a little bit to be able to do that - add a tiki_p_edit_categories
> On the list for 1.10 too
>
> sylvie


sylvie posts: 1090 3 stars user offline

I did the tiki_p_edit_categories yesterday.biggrin Some more test and I will commit. No there is no real list as we depend on the sponsors and the free time of the developpers.
sylvie



marbux posts: 29 3 stars user offline

I've been trying to set up a category Drafts set of permissions so that editors can work outside public view until pages are ready for public viewing, then switch the category assignment to pop the page into view for Registered and Anonymous. I haven't got it to function the way I want yet, but think I'm getting close.

Sylvie, if you are working on permissions for 1.10, it would be a really nice touch if another button were added to the editing screen called "Save." Save would save the editor's work but keep it private from all others with equal or lower permissions, including all other editors, until the "Post" button was used. As the scheme works now, people have a lot of incentive to not save their work until they have completed a page because saving displays the incomplete page. I can set this up with per-user permissions now, but an application level change seems appropriate.

Regards,

Marbux



posts: 8 3 stars Send eMail to User user offline Italy

Hi,

I guess we have the same need. I tried to make a more-or-less formal description of what I need:

I need to have groups of pages in the same wiki that are restricted to specific groups.
In other words, I'd like to have groups of pages with specific wiki permissions set for each user group. Categories seem the right tool.
Right now permissions to see, edit, delete a page are defined by an user's status. I'd like to define them by the user's status AND the page category (logical AND to be on the safe side).

The idea is to assign wiki related permissions to categories. Right now I see that I can only set tik_p_view_categories and tiki_p_admin_categories as permissions for a specific group. I'd like to set permissions like tiki_p_edit as well.

Those permissions should be stronger than global but weaker than per-page permissions.

Then the difficult question: how are categories inherited in new pages created by users of different groups?
Each user should be able to move the page he just created to any category he can create pages in. The default category should be the same of the page where the user comes from (the only backlink at that moment).

I read that Sylvie is already working on this. Sylvie if you need help please let me know!

I just started exploring the tikiwiki world but at least I can test. And maybe debug a little until I learn enough to be more useful.

Ciao
Carlo



Show posts:
Jump to forum:

Subscribe to Tiki Newsletters! [toggle] [Toggle Vertically]

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki

Why Register? [toggle] [Toggle Vertically]

Register at tiki.org and you'll be able to use it at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.

coWrite real time [toggle] [Toggle Vertically]

Documentation: PluginTogether


Shoutbox [toggle] [Toggle Vertically]

Torsten Fabricius, 09:54 UTC, Wed 19 Feb. 2014: Hello everybody, please mind the ((TikiFestSysadmin2014)) in August. Mainly meant for the Sysadmins, which are located in and near Germany (and France), active community members from Canada are expected to be attending.
luciash d' being, 12:28 UTC, Wed 01 Jan. 2014: Happy New Year ! :-)
luciash d' being, 14:00 UTC, Sun 27 Oct. 2013: @ricks99: there is a regression bug in Tiki resetting the avatars to the default one imho
Rick, 16:56 UTC, Wed 31 July 2013: What happened to the avatars?
Jonny Bradley, 12:44 UTC, Wed 10 Apr. 2013: Biggest TikiFest in ages starts tomorrow [Link]