Added 2 functions:
- isMemberOfGroup( $name, $case )
- isAllowed( $url )

Signed-off-by: Marco Sbragi <m.sbragi@gmail.com>
Corrected typos

Signed-off-by: Marco Sbragi <m.sbragi@gmail.com>
Typecast to int $allow

Signed-off-by: Marco Sbragi <m.sbragi@gmail.com>
Conditions for everybody check for 0 and for null

Signed-off-by: Marco Sbragi <m.sbragi@gmail.com>
Changed some field type and nullables for consistency

Signed-off-by: Marco Sbragi <m.sbragi@gmail.com>