web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do I troubleshoot ...
Power Apps
Answered

How do I troubleshoot buttons that are not visible when they are supposed to be in a production app?

(1) ShareShare
ReportReport
Posted on by 831 Moderator

I have an app where the home screen has several buttons. They are visible based on the user's access level (user, editor, admin). I've tested with my admin account and I can get all the buttons to appear. I've also changed the admin accounts access level to 'user' and only the user level buttons appear. That's all fine. Where I run into issues is with my test account. The permissions are set to 'user' and no buttons appear. If I change to 'admin' and still no buttons appear. I am thinking it might have to do with permissions on the role level but not really sure what permissions are needed if any. 

 

This is the code I am using to check the user's access level

 

 

LookUp('App Users', 'Email Address' = User().Email And ('Admin Access' = "Yes" Or 'User' = "Yes"),true)

 

 

NOTE: I also put the users full name and email address on the screen with this code and this all works fine.

 

 

User().FullName
User().Email

 

 

As an additional test to see if the app is actually reading the table for this 'test' account I added a text box and used this code. It does not return the user's email address as expected.

 

 

LookUp('App Users', 'Email Address' = User().Email, 'Email Address')

 

 

Categories:
I have the same question (0)
  • Verified answer
    futr_vision Profile Picture
    831 Moderator on at

    I decided to fiddle with security roles. I changed the Read access from User to Organization and that appears to work. Why is that? Should all my shared tables be set to Organization?

  • v-xiaochen-msft Profile Picture
    on at

    Hi @futr_vision ,

     

    It looks like you created a table that saved each user and their role.

    The problem is that many records in the table are not created by the user. So when the user who doesn't have enough security role get records, he cannot find the corresponding records.

    I recommend that you set the owner of the user's record to themselves. This way, even if they only have 'user' permission, they can still see their own records.

     

    Best Regards,

    Wearsky

  • futr_vision Profile Picture
    831 Moderator on at

    Thanks. I'm not completely sure I want to go through that process since I need to essentially give them access to almost all other tables since those tables drive the values in the combo boxes in the app. I am finding that the Organization permission seems to fix the issue for and of the create, read, write, etc... permissions needed.

    futr_vision_4-1720014852486.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard