Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONAR-7835 WS permissions/users return permissions in response
- Loading branch information
1 parent
a51fcb2
commit 2990ede
Showing
21 changed files
with
372 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 14 additions & 8 deletions
22
server/sonar-server/src/main/resources/org/sonar/server/permission/ws/users-example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,22 +1,28 @@ | |||
{ | { | ||
"paging": { | |||
"pageIndex": 1, | |||
"pageSize": 20, | |||
"total": 2 | |||
}, | |||
"users": [ | "users": [ | ||
{ | { | ||
"login": "admin", | "login": "admin", | ||
"name": "Administrator", | "name": "Administrator", | ||
"email": "admin@admin.com", | "email": "admin@admin.com", | ||
"selected": true | "permissions": [ | ||
"admin", | |||
"gateadmin", | |||
"profileadmin" | |||
] | |||
}, | }, | ||
{ | { | ||
"login": "george.orwell", | "login": "george.orwell", | ||
"name": "George Orwell", | "name": "George Orwell", | ||
"email": "george.orwell@1984.net", | "email": "george.orwell@1984.net", | ||
"selected": true | "permissions": [ | ||
"scan" | |||
] | |||
} | } | ||
], | ] | ||
"paging": { | |||
"pageSize": 100, | |||
"total": 2, | |||
"pageIndex": 1 | |||
} | |||
} | } | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.