WIP groups: API addition

@jirikuncar exists the possible to add a decorator like `@permission_required` to check it automatically?