I am currently working on a project that requires a user to possibly have multiple roles. As this is not posisble with the current toolkit and panel, I’ll have to code that myself, which is fine.
The only question is, whether I quickly hack it together or try to implement it properly for everyone. My only concern is that there will be a problem with backwards compatibility: The current User class defines a method
role() - what should that return in case that multiple roles are defined? Deleting the method is probably not an option as it would break old kirby code.