Was trying to get both field_permissions
and content_access
modules to work, and discovered this node_access
business for the first time. I've realised that most modules dealing with this have used Drupal's role rid
as the gid
when writing access rules, which is logical because it maps roles to grants simply, but the gid
column is INT. Backdrop no longer has a rid
, so to get his to work, I've had to write a doubtful function which maps each role to an INT, stored in config. Not fun.
Can that column be changed to simply accept the role's name
rather than a rid
? What would be the implications of this?
Recent comments
Just FYI, for field API date fields that use ISO format (basically a string), the resulting expression produced by the date_views_filter_handler_simple handler is DATE_FORMAT(STR_TO_DATE(...
Filter view on date
I think storing as timestamps would be the simplest and best way. Thanks for the help!!
Filter view on date
Yes, what I suspected. The core views filter handler for dates (views_handler_filter_date) can only handle UNIX timestamp sql columns. You'll either need to extend that filter handler to...
Filter view on date