Skip to content

Permissions not created

When using djangoldp_notification with sib-app-data-server, all the permissions are not created when creating the database. To reproduce:

  • delete the old sqlite database
  • docker-compose up -d
  • in a python shell in the docker: Permission.objects.filter(codename__contains='notification')
[
  <Permission: djangoldp_notification | notification | Can add notification>,
  <Permission: djangoldp_notification | notification | Can change notification>,
  <Permission: djangoldp_notification | notification | Can delete notification>
]

We don't have update, view, control... Is it normal?