# Action link visibility based on user role

**URL:** <https://forums.knack.com/t/action-link-visibility-based-on-user-role/12745>\
**Category:** Get Answers\
**Created:** [July 1, 2022, 3:48am UTC](https://forums.knack.com/t/action-link-visibility-based-on-user-role/12745 "2022-07-01T03:48:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickF](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/nickf/32/2161_2.png) [@NickF](https://forums.knack.com/u/NickF)\
**Post date:** [July 1, 2022, 3:48am UTC](https://forums.knack.com/t/action-link-visibility-based-on-user-role/12745/1 "2022-07-01T03:48:21Z")

</div>

Hi, is it possible to restrict action links based on user roles? For example, deleting records is reserved for Managers not Employees.

Thanks

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [July 1, 2022, 4:51am UTC](https://forums.knack.com/t/action-link-visibility-based-on-user-role/12745/2 "2022-07-01T04:51:17Z")

</div>

Not natively. There may be a code based solution but you can’t do this with rules. A workaround is to duplicate the table, one with a delete link and one without. You can then use page rules to show/hide the relevant table based on a user role.

---

<div class="post-metadata">

**Author:** ![Steve](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/steve/32/735_2.png) [@Steve](https://forums.knack.com/u/Steve)\
**Post date:** [July 6, 2022, 8:25pm UTC](https://forums.knack.com/t/action-link-visibility-based-on-user-role/12745/3 "2022-07-06T20:25:20Z")

</div>

Is it safe to say you have multiple users authorized to access the same page/view? If so, you can use a role based model to setup one login for “Managers” and design the page for the managers and another page for “Employees” to login and do employee related activities (no deleting!).

Basically you create a portal for each role, then you can customize the entire experience for the user role.
