Working on permissions and groups generation