Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UISAUTHCOM-42] Disable hyperlinks for user names in role details page if user doesn't have access to Users module #64

Merged
merged 5 commits into from
Jan 28, 2025

Conversation

ryandberger
Copy link
Member

  • Fixes UISAUTHCOM-42
  • If user has ui-users.view perm, wrap user names in <TextLink> which links to that user in the Users module. Otherwise, wrap in <span>.

Copy link

github-actions bot commented Jan 14, 2025

Jest Unit Test Results

  1 files  ±0   48 suites  ±0   1m 38s ⏱️ +3s
150 tests ±0  149 ✅ ±0  1 💤 ±0  0 ❌ ±0 
158 runs  ±0  157 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit db35659. ± Comparison against base commit 958c5b6.

♻️ This comment has been updated with latest results.

Copy link
Member

@zburke zburke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zburke
Copy link
Member

zburke commented Jan 15, 2025

PS, @ryandberger, it felt like this work could/should easily be its own reusable component so I just did that in stripes-smart-components, folio-org/stripes-smart-components#1555. Tests are acting funny in CI (they pass locally 🙄 ) so feel free to merge this if you don't want to wait for me to sort that out.

@ryandberger ryandberger requested a review from zburke January 28, 2025 13:33
@ryandberger ryandberger merged commit da154ed into master Jan 28, 2025
15 checks passed
@ryandberger ryandberger deleted the UISAUTHCOM-42 branch January 28, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants