Permissions messed up after installing and uninstalling Workflow

DWB - February 23, 2008 - 15:23
Project:Workflow
Version:5.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I installed Workflow 5.x-1.2 (Drupal 5.7), configured it in a standard manner and decided to uninstall it again.

First it turned out that all nodes which had been assigned a restricted state (= not publicly accessible) by my Workflow settings, remained unaccessible after uninstalling Workflow.

I had to install Workflow again to reset the user access settings for those pages and again (thinking my problem was solved) uninstalled Workflow.

After that, I created some new nodes which I noticed could not be accessed (viewed) by anonymous users. After making sure that all general access settings where ok I started to suspect it had anything to do with the Workflow module. So I installed it again to see if this was the case and suprisingly all nodes where accessible again. I uninstalled and installed Workflowa couple of times untill I was completely sure that the accessiblilty problem of new nodes was caused by wether or not Workflow was installed.

Evenmtually I uninstalled all Workflow tables in the DB as well as any Worflow references in the System table. To no avail.

Hope someone has anythoughts on this.
Thanks, Emdo

#1

funana - March 12, 2008 - 18:35

No real solution but something that will help you: http://drupal.org/node/194744

Plus: Did you delete any Workflow entries in variable AND cache tables?

#2

jz_ - March 24, 2008 - 12:39

I had the same problem. actually the table node_access doesn't get filled up with default permissions when workflow_access is removed. Looks like a but.

Temporary solution for me : enabling the workflow+workflow_access modules with no workflow defined... Let's see if everything works correctly then... but that's temporary solution

#3

jvandyk - March 25, 2008 - 15:48
Status:active» fixed

Fixed by #166495, which now rebuilds the node_access table when workflow_access is uninstalled. (Note, uninstalled -- not disabled.)

#4

Anonymous (not verified) - April 8, 2008 - 15:51
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.