[Moin-user] user auth

Jeremiah Jester jeremiah.jester at panasonic.aero
Tue Dec 9 16:56:07 EST 2008


Yes, that is correct.

So then would i just add this to the top of my moin py file?

from MoinMoin.auth import MoinAuth
auth = [MoinAuth()]


> Jeremiah,
> I think we weren't clear on what you wanted to do.
> 
> ACL's are Access Control Lists, they're the permissions level.  It
> sounds like what you're describing, you want user-authentication.  The
> relation between the two is, imagine a file server, where anyone in
> the company can log onto the server with their user ID and read the
> files, but only accounting can 'change' the files.
> 
> see: http://moinmo.in/HelpOnAuthentication
> 
> -Rick
> 
> 
> 
> 
> On Tue, Dec 9, 2008 at 12:26 PM, Jeremiah Jester
> <jeremiah.jester at panasonic.aero> wrote:
>         I put this (acl_rights _default =
>         u'Known:read,write,revert,delete') in
>         my wikiconfig.py and restarted apache. No user name and
>         password prompt?
>         Ideas?
>         
>         Thanks,
>         JJ
>         
>         
>         
>         On Tue, 2008-12-09 at 05:00 -0800, R.Bauer wrote:
>         > R.Bauer schrieb:
>         > > Jeremiah Jester schrieb:
>         > >> Hello,
>         > >>
>         > >> I'm a new to moinmoin and have inherited a wiki that is
>         already up
>         > and
>         > >> running. I would like to make it required for users to
>         login to
>         > access
>         > >> the site using their moinmoin user id. Security and the
>         ability to
>         > track
>         > >> changes for documents are the two main reasons for
>         getting this
>         > setup.
>         > >>
>         > >> I've reviewed the documentation but nothing has worked.
>         Can someone
>         > give
>         > >> me a walk through or point me in the right direction?
>         > >>
>         > >> Thanks,
>         > >> Jeremiah
>         > >>
>         > >>
>         > >
>         > > You do need to define acls, see
>         > >
>         > > http://master.moinmo.in/HelpOnAccessControlLists
>         > >
>         > > or in your wiki.
>         > >
>         > > e.g. if you set
>         > >
>         > >
>         > > acl_rights_before =
>         u'UserName:read,write,revert,delete,admin'
>         > > acl_rights_default = u'UserGroup:read,write,revert,delete'
>         > >
>         > >
>         > > then the user with the name UserName has the before right
>         and is
>         > allowed
>         > > to change acl settings on a page by the admin right.
>         > >
>         > > Only users which are listed on the page UserGroup have
>         > > read,write,revert,delete rights on default. If one
>         (UserName) has
>         > added
>         > > an #acl line on the page this overwrites the default
>         settings.
>         > >
>         > >
>         > > cheers
>         > > Reimar
>         >
>         > if you do want only known users (no anynymous users) you
>         also can use
>         >
>         > acl_rights_default = u'Known:read,write,revert,delete'
>         >
>         > then people need an account to access pages.
>         >
>         > cheers
>         > Reimar
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         ------------------------------------------------------------------------------
>         > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
>         Vegas,
>         > Nevada.
>         > The future of the web can't happen without you.  Join us at
>         MIX09 to
>         > help
>         > pave the way to the Next Web now. Learn more and register at
>         >
>         http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>         > _______________________________________________
>         > Moin-user mailing list
>         > Moin-user at lists.sourceforge.net
>         > https://lists.sourceforge.net/lists/listinfo/moin-user
>         >
>         >
>         >
>         
>         
>         
>         
>         Disclaimer: The information contained in this transmission,
>         including any
>         attachments, may contain confidential information of Panasonic
>         Avionics
>         Corporation.  This transmission is intended only for the use
>         of the
>         addressee(s) listed above.  Unauthorized review, dissemination
>         or other use
>         of the information contained in this transmission is strictly
>         prohibited.
>         If you have received this transmission in error or have reason
>         to believe
>         you are not authorized to receive it, please notify the sender
>         by return
>         email and promptly delete the transmission.
>         
>         
>         
>         ------------------------------------------------------------------------------
>         
>         
>         SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
>         Vegas, Nevada.
>         The future of the web can't happen without you.  Join us at
>         MIX09 to help
>         pave the way to the Next Web now. Learn more and register at
>         http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>         _______________________________________________
>         Moin-user mailing list
>         Moin-user at lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/moin-user
>         
> 




More information about the Moin-user mailing list