Fix RBAC and add support for user selected permissions

Dunno, what you actually tried there before, but to add some Values to a Database, which NEEDS to have same Values in every foreign you'd have to delete key, add values and then insert it..