Роли - rjhdby/motoDtpBackend Wiki

Original URL: https://github.com/rjhdby/motoDtpBackend/wiki/Роли

Функционал по ролям

READ_ONLY

accident message
GET /accident​/{id} GET ​/message​/{topic}
GET ​/accident​/list

USER

accident message
GET /accident​/{id} GET ​/message​/{topic}
GET ​/accident​/list
POST ​/accident​/ POST /message​/{topic}

MODERATOR

accident message moderator​
GET /accident​/{id} GET ​/message​/{topic} PUT ​/moderator​/{uid}​/ban
GET ​/accident​/list PUT ​/moderator​/{uid}​/unban
POST ​/accident​/ POST /message​/{topic} PUT ​/moderator​/{uid}​/promote ?
PUT /accident​/{id}​/hide PUT ​/message​/{id}​/show PUT ​/moderator​/{uid}​/revoke ?
PUT ​/accident​/{id}​/show PUT ​/message​/{id}​/hide
POST ​/accident​/{id} PUT ​/message​/{id}

ADMIN

accident message moderator​
GET /accident​/{id} GET ​/message​/{topic} PUT ​/moderator​/{uid}​/unban
GET ​/accident​/list PUT ​/moderator​/{uid}​/ban
POST ​/accident​/ POST /message​/{topic} PUT ​/moderator​/{uid}​/promote
PUT /accident​/{id}​/hide PUT ​/message​/{id}​/show PUT ​/moderator​/{uid}​/revoke
PUT ​/accident​/{id}​/show PUT ​/message​/{id}​/hide
POST ​/accident​/{id} PUT ​/message​/{id}
PUT ​/accident​/{id}​/resolve
PUT ​/accident​/{id}​/reopen
PUT ​​/accident​/{id}​/conflict
PUT ​/accident​/{id}​/conflict​/cancel

SUPER_ADMIN, DEVELOPER