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

Dizkus

Goto page: 1 - 2 - 3 [+1]

Bottom
Ok Permissions are complicated (was: SUCK!!)
  • Posted: 06.03.2008, 09:44
     
    XEUS
    rank:
    Freshman Freshman
    registered:
     March 2008
    Status:
    offline
    last visit:
    08.03.08
    Posts:
    7
    1 Admins .* .* Admin
    2 All groups Menublock:: Main Menu:Administration None
    3 Users .* .* Comment
    4 Unregistered Menublock:: Main Menu:(Logout|Submit News|My Account): None
    5 Unregistered .* .* Read
    icon_confused
    That is what my permissions are NOW. I haven't even touched them. All I want to do is restrict some things, hide some links in the main menu, you know, THE USUAL STUFF!!

    I have read just about all 95 pages of this forum and I have tried just about everythign I have come accross. Nothing works, heck even the way the permissions are now, (the DEFAULTS), not even they work. They did for a while. Now they don't. Just all the sudden like. There must be something else going on. I have no clue as to what it would be. I'm really tired of reading and reading and reading and reading.....I love this forum. I have actually learned quite a bit about post nuke in my readings but, time to fix stuff. HELP!!!!!!!!


    ---------------------------------------------
    "Pain is just fear leaving the body."
    unknown
  • Posted: 06.03.2008, 09:50
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    2990
    What is the issue with the permissions? Stuck how?

    --
    David Pahl
    Zikula Support Team
  • Posted: 06.03.2008, 09:54
     
    XEUS
    rank:
    Freshman Freshman
    registered:
     March 2008
    Status:
    offline
    last visit:
    08.03.08
    Posts:
    7
    Well the first thing is. This is my "Main Menu":

    Home
    My Account
    Administration
    Logout
    Photos
    FAQ
    News
    Reviews
    Downloads
    Links
    Members List
    Stats
    Poll

    I want it to look like this for unregistered users:

    Home
    FAQ

    My menu looks like the top on ALL THE TIME. I don't want that. This should be the simplest function in the world for permissions. On the older versions of PN, i don't remember ever having this much trouble. This seems to be only an issue that has come up recently.

    Maybe im not putting the permissions in the right verbage or something but i have tried everything i can think of.



    edited by: XEUS, Mar 06, 2008 - 04:58 AM

    --
    "Pain is just fear leaving the body."
  • Posted: 06.03.2008, 10:03
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    2990
    are you using .7 or .8?

    --
    David Pahl
    Zikula Support Team
  • Posted: 06.03.2008, 10:04
     
    XEUS
    rank:
    Freshman Freshman
    registered:
     March 2008
    Status:
    offline
    last visit:
    08.03.08
    Posts:
    7
    .764



    edited by: XEUS, Mar 06, 2008 - 05:08 AM

    --
    "Pain is just fear leaving the body."
  • Posted: 06.03.2008, 12:51
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    2990
    n
    2 All groups Menublock:: Main Menu:Administration None

    first you need to make it Main Menu:Administration:

    Adjust the second half to reflect your additional needs


    --
    David Pahl
    Zikula Support Team
  • Posted: 06.03.2008, 14:52
     
    espaan
    rank:
    Helper Helper
    registered:
     August 2003
    Status:
    offline
    last visit:
    03.12.08
    Posts:
    469
    Is you block still named Main Menu? This is the blocktitle. If you have changed it you need to adapt the permissions as well.

    I use this on a fresh 764 for testing and it works ok. And beware of the semicolon David talked about.

    Code

    1       Admins      .*      .*      Admin
    2       All groups  Menublock::     Main Menu:Administration:   None
    3       Unregistered    Menublock::     Main Menu:(My Account|Logout|Submit News):  None
    4       Users   .*  .*  Comment
    5       Unregistered    .*  .*  Read


    And permissions don't suck off course icon_wink . It's Setting them that can be difficult sometimes.



    edited by: espaan, Mar 06, 2008 - 10:55 AM

    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl
  • Posted: 06.03.2008, 15:10
     
    kaffeeringe.de
    rank:
    Professional Professional
    registered:
     September 2002
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    879
    My suggestion: 2 Menu blocks. One for registered and one for unregistered users. Then you don't have to adjust your permissions every time you change a menu.

    And permissions don't suck. They are great. They are only complex.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the PostNuke Steering Committee
    Read The Zikulan's Blog
  • Posted: 07.03.2008, 01:39
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    03.12.08
    Posts:
    6538

    espaan

    Is you block still named Main Menu? This is the blocktitle. If you have changed it you need to adapt the permissions as well.


    This is my guess as to the problem, every time I've had to investigate this type of issue for a client, it is because they changed the name of the menu block.
  • Posted: 07.03.2008, 01:44
     
    uheweb
    rank:
    Professional Professional
    registered:
     September 2004
    Status:
    offline
    last visit:
    10.11.08
    Posts:
    815
    I concur...they don't suck...but would also infer they're not complex, either...just robust and must be technically applied icon_smile

    I use the dual menu blocks approach - works great, and you can add as many links as you want while never needing to add permissions again. Also, its UI friendly as a new menu appears, instead of a user not seeing that the menu just has an additional line (perhaps in the middle where they don't notice it).
  • Posted: 07.03.2008, 05:29
     
    XEUS
    rank:
    Freshman Freshman
    registered:
     March 2008
    Status:
    offline
    last visit:
    08.03.08
    Posts:
    7
    Just tried the colon thing. It didn't work. icon_mad , So, unless the block itself is named somewhere else here is its details as they appear in the admin panel.
    -------------------------------------------------------------------------
    Left| Main Menu |Core |menu |All |Active |[Deactivate | Edit | Delete]
    -------------------------------------------------------------------------
    According to my blocks this is what my main menu line says...... anyone see anything out of order? or missnamed?......I am riddled with A.D.D. so if I am missing it I won't be suprised.

    --
    "Pain is just fear leaving the body."
  • Posted: 07.03.2008, 07:43
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    2990
    Are you using any User permissions, by chance?

    --
    David Pahl
    Zikula Support Team
  • Posted: 07.03.2008, 10:47
     
    XEUS
    rank:
    Freshman Freshman
    registered:
     March 2008
    Status:
    offline
    last visit:
    08.03.08
    Posts:
    7
    I only have the default ones right now. What you see in my first post in this thread is what I have, after the edit you told me to do. but so you don't have to go all the way to the top of the page here you go:

    1 Admins .* .* Admin
    2 All groups Menublock:: Main Menu:Administration: None
    3 Users .* .* Comment
    4 Unregistered Menublock:: Main Menu:(Logout|Submit News|My Account): None
    5 Unregistered .* .* Read


    --
    "Pain is just fear leaving the body."
  • Posted: 07.03.2008, 13:40
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    03.12.08
    Posts:
    6538
    URL please..
  • Posted: 08.03.2008, 00:38
     
    XEUS
    rank:
    Freshman Freshman
    registered:
     March 2008
    Status:
    offline
    last visit:
    08.03.08
    Posts:
    7
    http://www.team-rev.com



    edited by: XEUS, Mar 07, 2008 - 07:38 PM

    --
    "Pain is just fear leaving the body."

Goto page: 1 - 2 - 3 [+1]

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula