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

jvandyk’s picture

Status: Active » Fixed

Fixed. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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