File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ export class UserStatusesController extends Controller {
8686 */
8787 @Response ( 501 , 'Server error' )
8888 @Response ( 401 , 'Authentication fail' )
89+ @Security ( 'SUPER_ADMIN' )
8990 @Security ( 'ADMIN' )
9091 @Get ( 'statuses' )
9192 public async getUserStatuses (
@@ -107,6 +108,7 @@ export class UserStatusesController extends Controller {
107108 */
108109 @Response ( 501 , 'Server error' )
109110 @Response ( 401 , 'Authentication fail' )
111+ @Security ( 'SUPER_ADMIN' )
110112 @Security ( 'ADMIN' )
111113 @Get ( 'statuses/{platform}/{userId}' )
112114 public async getUserReports ( platform : Platform , userId : string ) : Promise < UserStatus [ ] > {
@@ -121,6 +123,7 @@ export class UserStatusesController extends Controller {
121123 */
122124 @Response ( 501 , 'Server error' )
123125 @Response ( 401 , 'Authentication fail' )
126+ @Security ( 'SUPER_ADMIN' )
124127 @Security ( 'ADMIN' )
125128 @Put ( 'statuses/{id}' )
126129 public async updateUser (
You can’t perform that action at this time.
0 commit comments