denshoproject / namesdb-editor

Other
0 stars 0 forks source link

Permissions missing from User and Group permissions lists #43

Closed GeoffFroh closed 7 months ago

GeoffFroh commented 11 months ago

Assignable permissions for several of the objects in the app are missing from the permissions lists for both Users and Groups. These include:

gjost commented 11 months ago

Found this* after some search, ran it locally and it seemed to work so ran it on both kyuzo and schoolboy

from django.contrib.auth.management import create_permissions
from django.apps import apps
create_permissions(apps.get_app_config('names'))