If user with all required rights, even full rights to create/administer advpoll, will create new advpoll node, this user will not have access even via system URL node/123, until master user will just open/save the advpoll node to get related record in node_access table created -- and from this point also original user will have access to created advpoll node.
Discovered while working on similar issue with Pathauto: http://drupal.org/node/173429
This problem was discovered on 5.x-1.x-dev Advpoll release, but the same is with latest code from CVS:
$Id: advpoll.module,v 1.21.2.62 2007/09/04 16:21:39 chriskennedy Exp $
with latest patch from http://drupal.org/node/173135
#3 submitted by fajerstarter on September 5, 2007 - 08:24
still the same, I have removed, unistalled and installed from scratch, permissions rebuild done, and still non-master user with all rights granted to module is unable to create working advpoll node (still there is no record in node_access table and master user has to edit/save node to get it to work)
this is with latest Drupal 5.2 with all modules updated daily and:
PHP 5.2.3
MySQL 4.1.22
Any advise?
Comments
Comment #1
memtkmcc commentedjust FYI: tested also on MySQL 5.0.45 -- same problem
Comment #2
ChrisKennedy commentedWhat access module are you using and does advpoll work correctly when you disable the module?
Comment #3
memtkmcc commentedHere is a list of modules I'm using -- all, I believe, having any impact on (some) permissions:
ACL 5.x-1.4
Forum Access 5.x-1.7
Karma 5.x-1.x-dev
Menu per Role 5.x-1.x-dev
Remove Non-viewable Menu Items 5.x-1.0
Role Weights 5.x-1.0
User Comment 5.x-1.x-dev
User Protect 5.x-1.1
Honestly, I don't have an idea which one can conflict with Advpoll, do you have any sugestions or should I try to disable all of them?
Thanks for any help and/or suggestion.
Comment #4
ChrisKennedy commentedUsing all those access modules is a recipe for disaster and is 99% likely to be causing the error. Advpoll does nothing special with permissions so there is no reason for it to cause an error in the node_access table.
Comment #5
memtkmcc commentedAll of those modules are not a problem for any content type. The only problem is with Advpoll.
This makes me think there must be something. I will try now to disable these modules
and will confirm here if I will find anything.
Comment #6
memtkmcc commentedFound it. The problem is when "Role Weights" module is enabled. Only this one module conflicts with Advpoll.
However with "Role Weights" enabled I can create any standard (page,blog,forum) content type and also
custom created content types (I have a few), and no other content type interfere with "Role Weights".
I am not sure where exactly is the problem, but it seems we have found something worth investigation
by both modules Developers -- just it is worth to at least mention: Advpoll will not work properly
if Role Weights modules is also enabled.
I need both modules, so I am also interested in resolving this issue, I will post notice on Role Weights
project issue.
Thanks.
Comment #7
pomliane commentedThis version of Advanced Poll is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.