I have been working on a basic user roles implementation for SecureOS (using @payonel's updated fork), and I am getting ready to release the first version.
It allows creating, editing, and removing roles, and giving and taking roles from users. It also has an alias system so that roles can be referred to by multiple names, as well as for backwards compatibility when renaming roles.
I'll add API docs and a download link later. Getting late right now, and I have a few other things I need to get working before I release (such as the automatic addition of new users).