Menu

#6 Added user permission 'view'

closed
nobody
None
5
2003-11-19
2002-04-11
Anonymous
No

Please add permission 'view'

Must work similar to 'edit' and 'delete'.

I've added it to security.py, but don't know how to
implement it in Page.py properly...

Discussion

  • Nobody/Anonymous

    Logged In: NO

    i experimented with this awhile ago and changed cgimain.py
    to check the view permission. If it was false, I would
    send the UserPreferences page with a message saying you
    needed to login.

     
  • Nobody/Anonymous

    Logged In: NO

    So where do I get these experiments?

    I cannot see anything in my copy, is there a diff someplace?

     
  • Thomas Waldmann

    Thomas Waldmann - 2003-06-19

    Logged In: YES
    user_id=100649

    Current CVS (and hopefully upcoming version 1.1 of MoinMoin,
    too) includes an AccessControlList feature with
    read/write/delete/admin rights, so I think this will maybe
    solve your problem.

    See MoinMoin:AccessControlList for more details.

     
  • Thomas Waldmann

    Thomas Waldmann - 2003-11-19
    • status: open --> closed
     
  • Thomas Waldmann

    Thomas Waldmann - 2003-11-19

    Logged In: YES
    user_id=100649

    currenct CVS and upcoming release 1.1 support ACLs - use the
    "read" right to get what you want

     

Log in to post a comment.