Closed (fixed)
Project:
UUID Role
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2014 at 15:49 UTC
Updated:
12 Aug 2014 at 20:40 UTC
Jump to comment: Most recent
When adding roles through the UI, we should listen on the form submit and trigger the UUID sync for roles. That way users can at least create multiple roles and have UUIDs for them.
It's not ideal, but there aren't any role hooks to listen on. Short of listening for queries on the role table, we'll need stuff like this to ensure roles get UUIDs as quickly as possible.
Comments
Comment #1
minoroffense commentedAlso, we should add a form alter to have an optional field to manually set the UUID.
Comment #2
minoroffense commentedComment #4
spotzero commentedFixed.
Saving a role automatically creates a uuid for it.
I've also added uuid integration on the role forms, however it made the role ui a little terse. I've left this integration in, but I've disabled it. It can be enabled by altering the value of the constant UUID_ROLE_ADMIN_UUIDS.