Closed (fixed)
Project:
Publish
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2006 at 19:39 UTC
Updated:
25 May 2006 at 23:00 UTC
Jump to comment: Most recent file
Only admin users can list channels. Non admin users can't even if they have "administer channels" permission. Richard Eriksson has looked at the code and this appears to be the offending code.
if (!user_access('create channels')) {
return drupal_access_denied();
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | publish-permissions.patch.txt | 318 bytes | sillygwailo |
Comments
Comment #1
sillygwailoThis looks an awful lot like a tag-team, doesn't it? :P Anyway, I've attached a patch that should fix this.
Comment #2
jvandyk commentedThe real solution is to remove that code, which is left over from the "page controller" approach taken in 4.6. The menu system already handles the permission for this callback.
Comment #3
Roland Tanglao@bryght.com commentedawesome, John thanks,
I am testing Publish and Subscribe at Boris's behest
My test plan as it evolves is at:
https://svn.bryght.com/dev/wiki/RolandsMayTwoOhOhSixPublishSubscribeTest...
Please feel free and edit it and add test cases you'd like me to add!!
Comment #4
(not verified) commented