Thanks but why not AND, User must has that two flags.
For example:
User1 = abcdefghijklmnopqrstu = This user has both flags ( a and d ) [This user can use that command.
User2 = bcdefghijklmnopqrstu = This user has not both flags ( has d flag but hasn't a flag) [This user can't use that command]
User3 = abcefghijklmnopqrstu = This user has not both flags ( has a flag but hasn't d flag) [This user cant use that command too.]
So Why not AND ?
When you use OR it must be a flag or d flag. Doesn't matter. If it has a flag, it can use or if it has d flag it can use too. Isn't it ? I don't understand