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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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

Jest Unit Test Results

  1 files  ±0   48 suites  ±0   1m 36s ⏱️ -1s
151 tests +1  150 ✅ +1  1 💤 ±0  0 ❌ ±0 
159 runs  +1  158 ✅ +1  1 💤 ±0  0 ❌ ±0 

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

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.

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