When I upgraded from drupal (and event) 4.5 to 4.6, regular users could not add events. I run with a norwegian locale. Regular users can add events only if they change their locale to english. The admin user can still add events as usual, regardless of locale.

With norwegian locale, the 'event' link is visible in the 'create content' menu, but not within the 'create content' node/page itself. When a user selects the event link in the menu, the 'create content' node/page is shown again, but with a new title ('event') and with a subtitle ('You can change this text by going to the flexinode content configuration page').

Comments

hba’s picture

OK, I've done some testing. This has something to do with flexinode, translations and node.module. These following are crude hacks, but they show where the problems can be accessed. The testing is done with a regular user with norwegian locale.

In node.module line 1400, replace
if (in_array($type, node_list()) && node_access('create', $type)) { with
if (in_array($type, node_list()) && true) {
Now event shows up within the body of the create content node.

In node.module line 1416, replace
if (node_access('create', $type)) { with
if (true) {
Now the add event node is shown when the user selects create content » event

In node.module line 1560, replace
if (node_access('create', $node)) { with
if (true) {
Now the user is able to actually save the event

I repeat, for completeness, all permissions are set correctly in access control. If the user changes locale to english, none of these problems exist.

hba’s picture

I crossposted this into the flexinode.module issue tracker, since this might be a flexinode problem: http://drupal.org/node/29708

killes@www.drop.org’s picture

Assigned: Unassigned » killes@www.drop.org
Status: Active » Fixed

was indeed a flexinode issue.

hba’s picture

I can confirm that it works now. Thanks, killes!

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)