A
Andrew Barringer
I'm working on a project that has a bitmap of permissions and I need to
find out if a user has access.=20
=20
Given permissions bit mask of 0001C0200F02000000000 where each bit
represents a specific permission
=20
And a request for permissions check on bits [37, 12, 48]
=20
What's the best way to find out if user has access to all requested
permissions?
find out if a user has access.=20
=20
Given permissions bit mask of 0001C0200F02000000000 where each bit
represents a specific permission
=20
And a request for permissions check on bits [37, 12, 48]
=20
What's the best way to find out if user has access to all requested
permissions?