#27 — missing setDefaultsRole
by
(anonymous)
—
last modified
Dec 29, 2010 02:13 PM
| State | Rejected |
|---|---|
| Version: | 1.1 |
| Area | Functionality |
| Issue type | Patch |
| Severity | Medium |
| Submitted by | (anonymous) |
| Submitted on | Aug 07, 2008 |
| Responsible | Damien Baty |
| Target release: | 1.1 |
Hi!
in Extensions/Install.py I had to add:
from Products.CMFCore.CMFCorePermissions import setDefaultRoles
[...]
setDefaultRoles(SUBSCRIBE_PERMISSION, ("Manager",))
to have the product install, otherwise I got "ValueError: The permission "CMFNotification: Subscribe/unsubscribe" is invalid".
It is CMFNotification 1.1 and plone 2.5.5.
I also have added labels to CMFNotification (and the setDefaultsRoles part too) 1.1 with this patch:
http://paste.org/index.php?id=3498
Hope this is useful :)
in Extensions/Install.py I had to add:
from Products.CMFCore.CMFCorePermissions import setDefaultRoles
[...]
setDefaultRoles(SUBSCRIBE_PERMISSION, ("Manager",))
to have the product install, otherwise I got "ValueError: The permission "CMFNotification: Subscribe/unsubscribe" is invalid".
It is CMFNotification 1.1 and plone 2.5.5.
I also have added labels to CMFNotification (and the setDefaultsRoles part too) 1.1 with this patch:
http://paste.org/index.php?id=3498
Hope this is useful :)
- Steps to reproduce:
- install CMFNotification on Plone 2.5.5, Unified Installer
Added by
(anonymous)
on
Aug 07, 2008 12:10 PM
I've corrected an error which appear if you add the notification portlet, the last patch is here:http://paste.org/index.php?id=3499
Added by
Damien Baty
on
Dec 29, 2010 02:13 PM
Thanks for the patch. Versions of Plone before Plone 3 are not supported anymore (by me, at least!).
Issue state:
Unconfirmed
→
Rejected
Responsible manager:
(UNASSIGNED)
→
dbaty
Target release:
None
→
1.1
No responses can be added.
If you can, please log in before submitting a reaction.
