biolithic / content_access

Backdrop port of Content Access module - this is to provide a place for community development
GNU General Public License v2.0
0 stars 2 forks source link

Backdrop change from role IDs to role names #2

Open Graham-72 opened 8 years ago

Graham-72 commented 8 years ago

The change record 'Converted User roles to CMI' described at https://api.backdropcms.org/node/26870 would seem to have significant impact on this module and its use of $rid and $rids.

laryn commented 7 years ago

May relate -- with this module activated I try to save a piece of content and get:

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'rid' in 'field list': SELECT rid FROM {users_roles} WHERE uid = :uid; Array ( [:uid] => 1 ) in content_access_own_op() (line 337 of /home/dir/public_html/modules/content_access/content_access.module).