by making sid a primary key in workflow_access.install you are only able to set access permissions for one role per state.
this also affects 5.x-1.2. I suggest the following change for normal behavior
=======================================
@@ -30,14 +30,14 @@
rid integer NOT NULL default 0,
grant_view integer NOT NULL default 0,
grant_update integer NOT NULL default 0,
- grant_delete integer NOT NULL default 0,
- PRIMARY KEY (sid)
+ grant_delete integer NOT NULL default 0
);
QUERY
);
$result[] = db_query(
<<
CREATE INDEX {workflow_access}_rid_idx ON {workflow_access}(rid);
+CREATE INDEX {workflow_access}_sid_idx ON {workflow_access}(sid);
QUERY
);
}
============================================
Thanks,
Steven
Comments
Comment #1
jvandyk commentedFixed. Thanks!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.