-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
basic pep8 et al, review and minor mods, zca and security decorators
- Loading branch information
Showing
34 changed files
with
805 additions
and
742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,26 @@ | ||
<configure xmlns="http://namespaces.zope.org/zope" | ||
xmlns:genericsetup="http://namespaces.zope.org/genericsetup" | ||
<configure | ||
i18n_domain="plone" | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:five="http://namespaces.zope.org/five" | ||
xmlns:i18n="http://namespaces.zope.org/i18n" | ||
i18n_domain="plone"> | ||
xmlns:genericsetup="http://namespaces.zope.org/genericsetup" | ||
xmlns:i18n="http://namespaces.zope.org/i18n"> | ||
|
||
<include package=".browser" /> | ||
|
||
<include file="profiles.zcml"/> | ||
|
||
<include file="profiles.zcml" /> | ||
<include file="exportimport.zcml" /> | ||
|
||
<genericsetup:importStep | ||
name="plonepas" | ||
title="PlonePAS setup" | ||
description="Configure PlonePas" | ||
handler="Products.PlonePAS.setuphandlers.setupPlonePAS"> | ||
<depends name="componentregistry"/> | ||
<depends name="controlpanel"/> | ||
<depends name="memberdata-properties"/> | ||
<depends name="rolemap"/> | ||
handler="Products.PlonePAS.setuphandlers.setupPlonePAS" | ||
name="plonepas" | ||
title="PlonePAS setup"> | ||
<depends name="componentregistry" /> | ||
<depends name="controlpanel" /> | ||
<depends name="memberdata-properties" /> | ||
<depends name="rolemap" /> | ||
</genericsetup:importStep> | ||
|
||
<five:deprecatedManageAddDelete | ||
class=".plugins.cookie_handler.ExtendedCookieAuthHelper" /> | ||
|
||
<five:deprecatedManageAddDelete | ||
class=".plugins.role.GroupAwareRoleManager" /> | ||
<five:deprecatedManageAddDelete class=".plugins.cookie_handler.ExtendedCookieAuthHelper" /> | ||
<five:deprecatedManageAddDelete class=".plugins.role.GroupAwareRoleManager" /> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,30 @@ | ||
from Products.PluggableAuthService.interfaces.events import IUserLoggedInEvent | ||
from Products.PluggableAuthService.interfaces.events import IUserLoggedOutEvent | ||
# -*- coding: utf-8 -*- | ||
from Products.PlonePAS.interfaces.events import IUserInitialLoginInEvent | ||
from Products.PluggableAuthService.events import PASEvent | ||
from zope.interface import implements | ||
from Products.PluggableAuthService.interfaces.events import IUserLoggedInEvent | ||
from Products.PluggableAuthService.interfaces.events import IUserLoggedOutEvent | ||
from zope.interface import implementer | ||
|
||
|
||
@implementer(IUserLoggedInEvent) | ||
class UserLoggedInEvent(PASEvent): | ||
implements(IUserLoggedInEvent) | ||
"""Plone Implementation of the logged in event | ||
PAS Event | ||
""" | ||
|
||
|
||
@implementer(IUserInitialLoginInEvent) | ||
class UserInitialLoginInEvent(UserLoggedInEvent): | ||
implements(IUserInitialLoginInEvent) | ||
"""Implementation of the initial logged in event | ||
Plone only event! | ||
""" | ||
|
||
class UserLoggedOutEvent(PASEvent): | ||
implements(IUserLoggedOutEvent) | ||
|
||
@implementer(IUserLoggedOutEvent) | ||
class UserLoggedOutEvent(PASEvent): | ||
"""Plone Implementation of the logged out event | ||
PAS Event | ||
""" |
Oops, something went wrong.