-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
119 additions
and
102 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
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,22 +1,26 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
xmlns:plone="http://namespaces.plone.org/plone" | ||
xmlns:zcml="http://namespaces.zope.org/zcml" | ||
i18n_domain="plone"> | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
xmlns:plone="http://namespaces.plone.org/plone" | ||
xmlns:zcml="http://namespaces.zope.org/zcml" | ||
i18n_domain="plone" | ||
> | ||
|
||
<include package="plone.behavior" file="meta.zcml"/> | ||
<include | ||
package="plone.behavior" | ||
file="meta.zcml" | ||
/> | ||
|
||
<!-- -*- extra stuff goes here -*- --> | ||
<!-- -*- extra stuff goes here -*- --> | ||
|
||
<plone:behavior | ||
name="training.votable.votable" | ||
title="Votable" | ||
description="Support liking and disliking of content" | ||
provides=".votable.IVotable" | ||
factory=".votable.Votable" | ||
marker=".votable.IVotableMarker" | ||
/> | ||
<plone:behavior | ||
name="training.votable.votable" | ||
title="Votable" | ||
description="Support liking and disliking of content" | ||
factory=".votable.Votable" | ||
provides=".votable.IVotable" | ||
marker=".votable.IVotableMarker" | ||
/> | ||
|
||
|
||
</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
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,7 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<layers> | ||
<layer | ||
name="training.votable" | ||
interface="training.votable.interfaces.ITrainingVotableLayer" | ||
/> | ||
<layer interface="training.votable.interfaces.ITrainingVotableLayer" | ||
name="training.votable" | ||
/> | ||
</layers> |
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,20 +1,26 @@ | ||
<?xml version="1.0"?> | ||
<rolemap> | ||
<permissions> | ||
<!-- -*- extra stuff goes here -*- --> | ||
<!-- -*- extra stuff goes here -*- --> | ||
|
||
<permission name="training.votable: View Votes" acquire="True"> | ||
<role name="Authenticated"/> | ||
<role name="Site Administrator"/> | ||
<role name="Manager"/> | ||
<permission acquire="True" | ||
name="training.votable: View Votes" | ||
> | ||
<role name="Authenticated" /> | ||
<role name="Site Administrator" /> | ||
<role name="Manager" /> | ||
</permission> | ||
<permission name="training.votable: Can Vote" acquire="True"> | ||
<role name="Reviewer"/> | ||
<permission acquire="True" | ||
name="training.votable: Can Vote" | ||
> | ||
<role name="Reviewer" /> | ||
</permission> | ||
<permission name="training.votable: Clear Votes" acquire="True"> | ||
<role name="Site Administrator"/> | ||
<role name="Manager"/> | ||
<permission acquire="True" | ||
name="training.votable: Clear Votes" | ||
> | ||
<role name="Site Administrator" /> | ||
<role name="Manager" /> | ||
</permission> | ||
|
||
</permissions> | ||
</rolemap> |
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,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<metadata> | ||
<version>202308210954</version> | ||
</metadata> | ||
</metadata> |
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,7 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<layers> | ||
<layer | ||
name="training.votable" | ||
remove="true" | ||
/> | ||
<layer name="training.votable" | ||
remove="true" | ||
/> | ||
</layers> |
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
directory="profiles/testing" | ||
/> | ||
|
||
</configure> | ||
</configure> |
Oops, something went wrong.