Installed and enabled 7.x-2.0-beta1 without incident. Tested on a node by limiting access to that node to one group. The access control seems to function flawlessly. When I return to the node to edit it, however (logged in as User #1), I receive the following message:

Warning: Illegal offset type in form_type_checkboxes_value() (line 2210 of .../includes/form.inc).

I'd not seen this warning before Simple Access was installed.

Comments

scottrouse’s picture

Oh, also just noticed that returning to edit the node turns off any access control rendering the node publicly viewable. I have to re-check the access control group and save the node. However, the automatic-disabling of access control every time a node is edited renders this module unusable for me at this time.

scottrouse’s picture

Also seeing Notice: Undefined index: sa in simple_access_form_node_type_form_alter() (line 385 of /sites/all/modules/simple_access/simple_access.module). when trying to edit the content type of an access-controlled node and Notice: Undefined index: simple_access in simple_access_node_type_submit() (line 397 of /sites/all/modules/simple_access/simple_access.module). after submitting changes to the content type.

wmostrey’s picture

Title: Illegal offset type in form_type_checkboxes_value() » Empty access rights when editing a node
Priority: Normal » Critical

I have the same error:

Error message
Warning: Illegal offset type in form_type_checkboxes_value() (line 2209 of [...]/includes/form.inc).

The Simple Access functionality works perfectly but when editing a node, the Access tab by Simple Access is empty. This means that someone who edits a node and doesn't pay attention to set the correct access rights again, sets the node publicly. Because of this I'm marking the issue as critical.

The notice mentioned in #2 has a separate issue at #1084254: Exception when editing a content type using Simple Access

Mark Vincent Verallo’s picture

subscribed

nils_r’s picture

I have the same behaviour without the error messages.

gordon’s picture