1 Ash's thoughts on privilege/GRANT abstraction for DBIC
3 So my first thought was some hideous mismash of lots of functions like:
4 ->grant($user, $schema, \@privileges)
6 But DB2 and Oracle both support groups - and its a bit evil
8 So while driving to badminton I came up with the following "idea".
10 ->grant({ user => $user, object => $table_or_object, privileges => \@privs})
11 ->grant({ group => $group, ... <as above> })
12 ->grant({ user=> $user, add_to_group => $group});