Repository navigation
Commit 91b74ee
committed
Update API documentation and refine role permission filtering
- Enhanced API documentation for the `GET /roles` endpoint to clarify the `permissionIds` query parameter, specifying that it now accepts a repeated Guid to match roles with any of the given permissions.
- Refined the role permission filtering logic in `RoleService` to improve performance and accuracy by selecting role IDs based on the provided permission IDs, ensuring only relevant roles are returned in the query.1 parent 48a4ba2 commit 91b74ee
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
0 commit comments