Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  Zikula 1.0 Support ::  Administration and Configuration ::  Permissions: restricting who can add a web link

Moderated by: Support Team

Bottom
Permissions: restricting who can add a web link

  • Link to this postingPosted: 25.04.2008, 06:23
    Profile
    christyc
    rank:
    Freshman Freshman
    registered:
     April 2008
    Status:
    offline
    last visit:
    25.04.08
    Posts:
    2
    Hello! In my groups, I have users (newly registered), validatedusers (previously registered, now approved to comment on articles), and supporters (approved to comment on articles, PLUS submit web links and calendar events).

    However, I'm having trouble getting web links to cooperate with my desires for permissions. Currently, validatedusers are able to post web links. I'd like to figure out how to set permissions so that users and validated users cannot add links.

    I'm a fairly new to all of this, and will need slow, specific instructions since I have no background in coding/ web admin. (With good instructions, however, I have at least enough skill to make minor changes to coding on pages if that would be required to fix this.)

    Here's what my permissions look like now:

    Seq. Group Component Instance Permissions level
    1 Admins .* .* Admin
    2 All groups Menublock:: Main Menu:Administration: None
    3 All groups formicula:: .* Comment
    4 Supporters Web_Links:: .* Add
    5 Supporters PostCalendar:: .* Add
    6 ValidatedUser Web_Links:: .* Read
    7 ValidatedUser .* .* Comment
    8 Users Menublock:: Main Menu:(Submit News): None
    9 Users .* .* Read
    10 Users formicula:: .* Comment
    11 Unregistered Menublock:: Main Menu:(My Account|Logout|Submit News): None
    12 Unregistered .* .* Read
    13 Unregistered formicula:: .* Comment

    Can someone tell me what I'm doing wrong and how to fix it?
  • Link to this postingPosted: 25.04.2008, 10:34
    Profile Homepage
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    25.08.08
    Posts:
    2917
    1 Admins .* .* Admin
    2 All groups Menublock:: Main Menu:Administration: None
    3 All groups formicula:: .* Comment
    4 Supporters Web_Links:: .* Add
    5 Supporters PostCalendar:: .* Add

    [Supporters lack baseline permission-this is fine if Supporters are also in group ValidatedUser]

    6 ValidatedUser Web_Links:: .* Read
    7 ValidatedUser .* .* Comment
    8 Users Menublock:: Main Menu:(Submit News): None

    [Do Users need higher baseline permission?]

    DELETE 9 You have all groups read permission in 12
    DELETE 10 You gave all groups this in rule 3

    11 Unregistered Menublock:: Main Menu:(My Account|Logout|Submit News): None
    12 All groups .* .* Read

    DELETE 13 You gave all groups this in rule 3

    Anyway, it would seem that only have read permissions.. so it should work.. if not try dropping the permission here to overview..

    -----
    David Pahl
    Zikula Support Team

  • Link to this postingPosted: 25.04.2008, 20:14
    Profile
    christyc
    rank:
    Freshman Freshman
    registered:
     April 2008
    Status:
    offline
    last visit:
    25.04.08
    Posts:
    2
    Okay, I did that and it still didn't work.

    Is there something in the index.php or wl-addlink.php where I could paste a piece of code to make "add link" not show up on theirs? I know I can moderate all incoming links but would love to avoid the additional step of checking user levels of all people submitting links before approving.
  • Link to this postingPosted: 16.05.2008, 03:22
    Profile
    magicvince
    rank:
    Freshman Freshman
    registered:
     September 2004
    Status:
    offline
    last visit:
    20.06.08
    Posts:
    31
    I think its a problem with web_links permissions in admin panel.


    I had tested the web_links_08 version with this type of permissions

    sub_admin (News|Stories|Web_Links):: .* Edit
    sub_admin .* .* Comment

    My sub_admin group can see the web_links icon in the admin panel, but can't access to the web_links admin page but if they visit the weblinks from the front office, they can do their job.

    (I also group News|Stories because without News there's no icon in admin panel and without Stories I can't access to the News admin page).

Start ::  Zikula 1.0 Support ::  Administration and Configuration ::  Permissions: restricting who can add a web link

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to Zikula