User Permission Encoding
March 21, 2006 7:03 AM
Subscribe
Managing User Permissions: I'm reworking an existing system that has a fairly granular permission system and am looking to make it easier to use. At the risk of sounding like a complete clown
1, I've recently seen at least one OS permission system where permissions are encoded with ids that are (I think) all powers of 2, which allows the system to discern whether a user has access to a given permission from the sum of the user's permission ids. Can someone explain how this works?
My question is entirely based on how I perceived the system works, so the details may be different (and that would be useful to know). Because I don't even know how to talk about this in simple labels, it's hard to Google.
1. Vs. the sub-100% clown I normally sound like.
posted by yerfatma to technology (16 comments total)
posted by popechunk at 7:07 AM on March 21, 2006