This is a security question. If i have peopl...

This is a security question.

If i have people submitting reimbursement requests in a form and then I have a table view which lists all the reimbursements.

I want the employees to see their own submissions, but I donโ€™t want them to see each otherโ€™s.

Iโ€™m assuming I would type a formula into the Security Filters area under the table in question, but what kind of formula would I use?

Could I just write USEREMAIL()

Or something as simple as: USEREMAIL() = true

I think I need some way to link the personโ€™s name (which they select from a ref) and the username email.

I have a table with this information, but not sure how to spell it out for app sheet.

Maybe:

USEREMAIL()=[Employeeโ€™s Name].[Maintenance Crew Emails] But that didnโ€™t verify.

And then in addition to that, I would like myself and our office lady to be able to view everyoneโ€™s submissions, not just our own.

So how would I write that in there?

USEREMAIL()=miranda@ourcompany.com

Would that be right?

Do I separate multiple expressions by just a comma?

Thanks so much! Miranda

0 3 304
3 REPLIES 3

@Miranda_Lubarsky

This article contains sample security filter expressions help.appsheet.com - Security Filters: The Essentials

Security Filters: The Essentials help.appsheet.com

OR(USEREMAIL()=โ€œmiranda@ourcompany.comโ€,USEREMAIL()=[Employeeโ€™s Name].[Maintenance Crew Emails])

Ok, I used this equation and it seemed to go through but Iโ€™m not sure how I check to make sure it will work:

USEREMAIL()=[Employeeโ€™s Name] = โ€˜Employeesโ€™[Maintenance Crew Names].[Maintenance Crew Emails]

I change the access mode to โ€œas app userโ€ but it still showed me other employeeโ€™s submissions.

Then again, it might show me because Iโ€™m the creator?

Not sure if the formula didnโ€™t work, or if Iโ€™m just having trouble viewing it from the userโ€™s perspective.

Top Labels in this Space