Files
notifications-api/app
Katie Smith bcb1c483ca Change permissions endpoint to accept data in new format
The data posted to the `set_permissions` endpoint is currently sent as a
list of permissions:
`[{'permission': MANAGE_SETTINGS}, {'permission': MANAGE_TEMPLATES}]`.

This endpoint is going to also be used for folder permissions, so the
data now needs to be nested:

`{'permissions': [{'permission': MANAGE_SETTINGS}, {'permission': MANAGE_TEMPLATES}]}`

This changes the set_permissions endpoint to accept data in either
format. Once admin is sending data in the new format, the code can be
simplified.
2019-02-25 16:01:24 +00:00
..
2018-11-26 12:53:39 +00:00
2018-10-26 18:02:41 +01:00
2019-02-08 13:10:42 +00:00
2019-02-13 15:02:18 +00:00
2019-02-06 15:34:34 +00:00
2019-01-18 15:36:53 +00:00
2019-02-19 10:23:40 +00:00
2019-02-13 15:02:18 +00:00