Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(273)

Issue 6459104: Auth plugins

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by Maiku Mori
Modified:
11 years, 8 months ago
Reviewers:
thomas.j.waldmann
Visibility:
Public.

Description

Auth plugins

Patch Set 1 #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -18 lines) Patch
M MoinMoin/app.py View 2 chunks +24 lines, -0 lines 2 comments Download
M MoinMoin/auth/__init__.py View 2 chunks +19 lines, -0 lines 9 comments Download
M MoinMoin/config/default.py View 1 chunk +0 lines, -18 lines 0 comments Download
M MoinMoin/plugin.py View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 3
ThomasJWaldmann
http://codereview.appspot.com/6459104/diff/1/MoinMoin/app.py File MoinMoin/app.py (right): http://codereview.appspot.com/6459104/diff/1/MoinMoin/app.py#newcode129 MoinMoin/app.py:129: raise error.ConfigurationError("Auth method names must be unique.") maybe merge ...
11 years, 8 months ago (2012-08-19 16:19:30 UTC) #1
Maiku Mori
http://codereview.appspot.com/6459104/diff/1/MoinMoin/app.py File MoinMoin/app.py (right): http://codereview.appspot.com/6459104/diff/1/MoinMoin/app.py#newcode129 MoinMoin/app.py:129: raise error.ConfigurationError("Auth method names must be unique.") On 2012/08/19 ...
11 years, 8 months ago (2012-08-19 16:30:33 UTC) #2
ThomasJWaldmann
11 years, 8 months ago (2012-08-19 17:16:10 UTC) #3
http://codereview.appspot.com/6459104/diff/1/MoinMoin/auth/__init__.py
File MoinMoin/auth/__init__.py (right):

http://codereview.appspot.com/6459104/diff/1/MoinMoin/auth/__init__.py#newcod...
MoinMoin/auth/__init__.py:275: # the package will most likely contain a single
auth plugin.
> Is this better:

a bit, see below.
 
>         # Plugin config is stored in a key/value dictionary where each key is
> plugin's package name.

the plugin's

>         # Since package names for inbuilt plugins is "MoinMoin" we need to

name...is or names...are

> somehow refer to specific plugins
>         # (as there can be multiple auth plugins, each with seperate config).
>         # Auth config is stored under key "auth" and contains a key/value
> dictionary where each key is
>         # Auth plugin's name. In this case it's "MoinLoginFormAuth".
>         # For standalone auth plugin packages this should be a lot more
straight
> forward since
>         # the packages will most likely contain a single auth plugin.

OK.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b