cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver I
Resolver I

I don't have permission while editing app

Hello, this gallery filter isn't working and giving me

 

"You don't have permission to view this data"

 

The data source is Sharepoint, and I have full access, this is the formula:

 

SortByColumns(
    Filter(
        OnlineTickets,
        ClosedTickets=true Or (ClosedTickets=false And (OnlineTicketStatus="الطلب مفتوح" Or OnlineTicketStatus="تم التعامل" Or OnlineTicketStatus="الطلب مرسل" Or OnlineTicketStatus="انتظار العميل" Or OnlineTicketStatus="تم التجهيز" Or OnlineTicketStatus="تم التوثيق" Or OnlineTicketStatus="تم التوقيع")),
        VarUserRole.Text="Super" Or (VarUserRole.Text="Inputer" And (OnlineStageOneDepartmentName=VarUserDepartmentName.Text Or VarUserDepartmentName.Text=OnlineStageTwoDepartmentName Or VarUserDepartmentName.Text=OnlineStageThreeDepartmentName Or VarUserDepartmentName.Text=OnlineStageFourDepartmentName Or VarUserDepartmentName.Text=OnlineStageFiveDepartmentName Or VarUserDepartmentName.Text=OnlineStageSixDepartmentName Or VarUserDepartmentName.Text=OnlineStageSevenDepartmentName Or VarUserDepartmentName.Text=OnlineStageEightDepartmentName)),
        MyTickets=false Or (MyTickets=true And OnlineCurrentDepartmentName=VarUserDepartmentName.Text),
        ClosedTickets=false Or (ClosedTickets=true And OnlineCurrentDepartmentName="أرشيف"),
        IsBlank(TextInput2) Or (OnlineCustomerID=TextInput2.Text Or ID=Value(TextInput2.Text)))
    ,"ID",
    Descending)

When VarUserRole.Text is Super, it is working fine, but if I change it to Inputer, it won't work and give me this permission error.

 

Thanks

0 REPLIES 0

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,834)