openwisp/openwisp-notifications

[change] Notification preferences: respect Django permissions

Opened this issue · 0 comments

Continuation of #290.

  • Allow staff users which are not superusers but have permission to change notification settings to open the view
  • Respect notification preferences permissions in RET API (allow staff users with the change permission to make changes, staff users without the permission shall not be able to perform changes, superusers can always perform changes)
  • Show the notification preferences button also if the user is just staff but has notification permissions