'Privileges' main page#1134
Conversation
There was a problem hiding this comment.
Sorry @carma12, your pull request is larger than the review limit of 150000 diff characters
|
There is really a lot of changes this PR is built on, so I will wait for the rebase. |
b2aa3d1 to
dd1985d
Compare
dd1985d to
fc52789
Compare
fc52789 to
c3a0a5e
Compare
|
@veronnicka - This PR is now ready to review. |
c3a0a5e to
8f4b887
Compare
duzda
left a comment
There was a problem hiding this comment.
Hi, the help panel is not working
8f4b887 to
61a7810
Compare
|
Hi @carma12,
|
I completely overlooked this, sorry 😅 Will fix... |
61a7810 to
2c4d532
Compare
|
@duzda - The code has been fixed based on your feedback (including the missing Contextual help links panel). |
veronnicka
left a comment
There was a problem hiding this comment.
Hi, theres a bug when searching on a page other than the first one(the search on the first page works)
Search uses the current pagination offset (firstIdx / lastIdx) and a fix I propose would be to look in all of the results, so something like :
const submitSearchValue = () => {
setPage(1);
...
searchPrivileges({
...
startIdx: 0,
stopIdx: perPage,
})
}
|
Another thing I noticed, the search is not responsive- it only searches the value after clicking enter. The other pages implemented do have the reponsive approach, so the list in the table changes with each key put into the search. Is this something we want to address? |
Nice catch, will check this asap... |
You are right: there is an inconsistency on how the data is being searched. I will fix this in this PR, but also will open a new PR to do it in other pages affected. |
2c4d532 to
d982487
Compare
This has been fixed in the code. Thank you! |
I fixed the issue unrelated to this PR in this PR: #1139 |
d982487 to
007838a
Compare
|
It is a bit counterintuitive to how elsewhere search works, but let's keep it this way. |
veronnicka
left a comment
There was a problem hiding this comment.
I have no further comments, providing an ack
The 'Privileges' page should be located under 'Role-based access control' section and must show all the available privileges associated to the IPA server. Assisted-by: Claude <noreply@anthropic.com> Signed-off-by: Carla Martinez <carlmart@redhat.com>
007838a to
3dee9b5
Compare




The 'Privileges' page should be located under 'Role-based access control' section and must show all the available privileges associated to the IPA server.
This PR has been built in the top of #1126 , so it must be merged first.
Assisted-by: Claude noreply@anthropic.com