Sort of, kind of, a bug.
Not sure the best way to fix this issue. Right now YAF has to sync role information with it's own DB. That will be changed in future versions... but I have to completely redesign the entire DB, so don't hold your breath for that.
What you are doing is programmically adding a role for a user...
The roles are synced auto when a user logs in.
I could manually add a sync to the "User Details" admin section. Then, at least, the admin could see the changes.
Too much DB time to add a sync to the profile view... and too much to add a manual sync for ALL users.
It's too bad providers don't have some hook or event that YAF can tap into so it can sync properly as things are changed... unless there is something I don't know about.
Edited by user
15 years ago
|
Reason: Not specified