# Admin cannot view Customer only content?

**URL:** <https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236>\
**Category:** Permissions\
**Created:** [September 18, 2021, 3:59pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236 "2021-09-18T15:59:20Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [September 18, 2021, 3:59pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/1 "2021-09-18T15:59:20Z")

</div>

Hello,

I have 3 group:

- Admin: access everything
- Mod: can edit and add some record, but that’s all
- User (Customer Access): can view what Admin allow them to see.

I have to build a page with 2 section:

- Section A: public
- Section B:
  - That customer can view their extra information in this section (I set “Conditional Visibility” with “Email is current User’s email”)
  - Admin and Mod can do anything (create, edit and view)

But in web view mode, Admin and Mod can not view section B, while Customer can view normally.

Of course, Admin can still view Section B while they edit the page layout.

How can I let Admin view Section B in normal view? I tried to add “Conditional Visibility” to “User role is Admin” but the thing is, it’s “AND” condition, so it breaks the rule.

If it’s a “OR” condition, it will be different.

Please advice on this. Thank you!

Phong

 ![Screen Shot 2021-09-18 at 10.58.30 PM](https://europe1.discourse-cdn.com/flex017/uploads/stacker/original/1X/4d565d790c06ed0b130afe6d04c034b2e13e286b.jpeg)

---

<div class="post-metadata">

**Author:** ![ruchikaabbi](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/ruchikaabbi/32/327_2.png) [@ruchikaabbi](https://community.stackerhq.com/u/ruchikaabbi)\
**Post date:** [September 19, 2021, 8:28am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/2 "2021-09-19T08:28:13Z")

</div>

@phongvt If you’ve set the permissions for User role to see only records that match their email then you don’t need to add the conditional visibility in the field container. Adding it on the field container makes it so for all roles. In which case Admin will not see any records as the email may not match.

---

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [September 20, 2021, 6:06am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/3 "2021-09-20T06:06:41Z")

</div>

Thank you for the answer.  
Can I let Admin see the records, eventhough (admin’s) email may not match?

---

<div class="post-metadata">

**Author:** ![ruchikaabbi](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/ruchikaabbi/32/327_2.png) [@ruchikaabbi](https://community.stackerhq.com/u/ruchikaabbi)\
**Post date:** [September 20, 2021, 6:30am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/4 "2021-09-20T06:30:08Z")

</div>

@phongvt Yes. Basically you have to set up permissions as follows;

User role : Can view only records where the email matches current user  
Admin : can view all records.

With the above, no conditional visibility needs to be set on the field containers.

---

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [September 20, 2021, 7:26am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/5 "2021-09-20T07:26:19Z")

</div>

I set everything but still not work. Please check the screenshot here: [Imgur: The magic of the Internet](https://imgur.com/a/qSylQVA)  
Thank you!

---

<div class="post-metadata">

**Author:** ![ruchikaabbi](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/ruchikaabbi/32/327_2.png) [@ruchikaabbi](https://community.stackerhq.com/u/ruchikaabbi)\
**Post date:** [September 20, 2021, 7:48am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/6 "2021-09-20T07:48:50Z")

</div>

@phongvt What’s the expected behaviour? Do you want Admin to see or not see the fields marked red?

---

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [September 20, 2021, 8:25am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/7 "2021-09-20T08:25:45Z")

</div>

Yes I want Admin to see everything. Is it possible?

---

<div class="post-metadata">

**Author:** ![ruchikaabbi](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/ruchikaabbi/32/327_2.png) [@ruchikaabbi](https://community.stackerhq.com/u/ruchikaabbi)\
**Post date:** [September 20, 2021, 8:54am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/8 "2021-09-20T08:54:58Z")

</div>

Yes, you just have to make sure the permissions for that table are set so for Admin to see everything. Now when you add all the fields in the layout, only the Admin will be able to see them.

If the User permission has some fields not set as “Read” then even though they are on the layout, User will not be able to see them.

---

<div class="post-metadata">

**Author:** ![Thu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/thu/32/51_2.png) [@Thu](https://community.stackerhq.com/u/Thu)\
**Post date:** [September 20, 2021, 2:22pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/9 "2021-09-20T14:22:46Z")

</div>

Hi @phongvt

Ruchika is correct, you need to create permissions in that table to give different access for your user role and your admin role.

Example: For my user role

 ![Screenshot 2021-09-20 at 15.15.59](https://europe1.discourse-cdn.com/flex017/uploads/stacker/original/1X/b86e9055ff7f2429865bde1891102ea1d932a42e.png)

For my admin role.

 ![Screenshot 2021-09-20 at 15.16.24](https://europe1.discourse-cdn.com/flex017/uploads/stacker/original/1X/f2780c74cf08366b47fb7cc3b7872372c935b86b.png)

These are the two permission rules for that table -

 ![Screenshot 2021-09-20 at 15.22.18](https://europe1.discourse-cdn.com/flex017/uploads/stacker/original/1X/c2a64cb5e0945ba199268f5acc1af2944a630009.png)

---

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [September 21, 2021, 6:37am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/10 "2021-09-21T06:37:05Z")

</div>

While creating Permission for specific table or the whole base, I can not choose role as Admin. Isn’t it only me?  
Please check the screenshot here: [Imgur: The magic of the Internet](https://imgur.com/a/q3Vf1YO)

---

<div class="post-metadata">

**Author:** ![Thu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/thu/32/51_2.png) [@Thu](https://community.stackerhq.com/u/Thu)\
**Post date:** [September 21, 2021, 1:28pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/11 "2021-09-21T13:28:48Z")

</div>

In your App Settings → Roles, you need to uncheck the “can read/modify all data” for the admin role to be available to add to permissions.

 ![Screenshot 2021-09-21 at 14.26.24](https://europe1.discourse-cdn.com/flex017/uploads/stacker/original/1X/c90a26c1171dff3f0fa2028c5aaea512c4bac702.png)

---

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [September 21, 2021, 3:51pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/12 "2021-09-21T15:51:36Z")

</div>

I follow your guidance, create Admin Roles & Permission, but nothing changes. Admin still can not view the “user only” field.

Could you please access my app at @v52 and have a check? I already checked the “Grant Support Login”

Thank you!

---

<div class="post-metadata">

**Author:** ![Thu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/thu/32/51_2.png) [@Thu](https://community.stackerhq.com/u/Thu)\
**Post date:** [September 21, 2021, 3:56pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/13 "2021-09-21T15:56:40Z")

</div>

Please can you send details of your app and the issue through to [support@stackerhq.com](mailto:support@stackerhq.com)

---

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [September 21, 2021, 4:01pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/14 "2021-09-21T16:01:00Z")

</div>

Thank you for the quick and great support. Email sent!

---

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [February 12, 2022, 11:03am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/15 "2022-02-12T11:03:56Z")

</div>

hello again, are you Vietnamese? It could be easier if we can directly communite!

---

<div class="post-metadata">

**Author:** ![Thu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/thu/32/51_2.png) [@Thu](https://community.stackerhq.com/u/Thu)\
**Post date:** [February 14, 2022, 9:07am UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/16 "2022-02-14T09:07:38Z")

</div>

Hi @phongvt

I am! but my Vietnamese isn’t very good 😢

Are you still having problems with your permissions?

---

<div class="post-metadata">

**Author:** ![phongvt](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/phongvt/32/370_2.png) [@phongvt](https://community.stackerhq.com/u/phongvt)\
**Post date:** [February 14, 2022, 3:51pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/17 "2022-02-14T15:51:45Z")

</div>

I can talk to you in English. I still have the latest issue with permission. It’d be great if we have chance to discuss directly. Please let me how I can reach you!

---

<div class="post-metadata">

**Author:** ![Thu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/thu/32/51_2.png) [@Thu](https://community.stackerhq.com/u/Thu)\
**Post date:** [February 14, 2022, 4:06pm UTC](https://community.stackerhq.com/t/admin-cannot-view-customer-only-content/236/18 "2022-02-14T16:06:58Z")

</div>

It is best to email through to [support@stackerhq.com](mailto:support@stackerhq.com)
