Skip to content

Commit

Permalink
Merge pull request #11 from 4teamwork/es-add-lawgiver-permission-mapping
Browse files Browse the repository at this point in the history
Add permissionmapping for ftw.lawgiver
  • Loading branch information
jone committed Jul 19, 2013
2 parents 1aeae85 + bbc0795 commit 428d201
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
1.3.3 (unreleased)
------------------

- Nothing changed yet.
- Add permissionmapping for ftw.lawgiver
[elioschmutz]


1.3.2 (2013-07-05)
Expand Down
3 changes: 3 additions & 0 deletions ftw/poodle/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="ftw.poodle">

<five:registerPackage package="." initialize=".initialize" />
Expand All @@ -16,6 +17,8 @@

<include file="skins.zcml" />

<include zcml:condition="installed ftw.lawgiver" file="lawgiver.zcml" />

<!-- Register the installation GenericSetup extension profile -->
<genericsetup:registerProfile
name="default"
Expand Down
13 changes: 13 additions & 0 deletions ftw/poodle/lawgiver.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:lawgiver="http://namespaces.zope.org/lawgiver"
i18n_domain="ftw.lawgiver">

<include package="ftw.lawgiver" file="meta.zcml" />

<lawgiver:map_permissions
action_group="add"
permissions="ftw.poodle: Add Meeting poll"
/>

</configure>

0 comments on commit 428d201

Please sign in to comment.