Tabs in the task screen throwing error for basic user

A Score Level 1

Hi everyone,

We have a task interface with cards as buttons.

When the basic user clicks on the task link in the grid, the task is opening. When the basic user tries to click on the button in the task interface. Its giving following error. 

403 Access Denied. You don't have permission to view this page.

We have set the security properly for the Application, Site, Report, Data Store, Reports Folder and Process Model.

Can anyone tell me the core reason. I found the same issue but they are saying it happens magically at https://community.appian.com/discussions/f/user-interface/13993/access-denied-error/65381#65381

   Could you please suggest?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    A Score Level 1
    in reply to Stewart Burchell

    We have interface-1 for task, interface has different sections(sec-1,sec-2). Each section is displayed based on buttons(Btn-1,Btn-2).

    We are using cards as buttons implemented using link: a!dynamicLink(saveInto: a!save(local!selectedCard, 2)). Interface-1 displays sec-1 by default.

    When  the task link is clicked by a basic user, interface-1 displays sec-1.

    When the user clicks on the Btn-2, it should give sec-2 instead I am getting error: 403 Access Denied. You don't have permission to view this page.

    If I am the system admin user, there is no issue in display.

Children
  • 0
    Appian Employee
    in reply to Dude

    Are you able to share the SAIL for the Task interface?

  • 0
    A Score Level 1
    in reply to Stewart Burchell

    Hi Sir, please find the task interface template code which we used.  

    a!localVariables(
      local!action:1,
      {
        
        a!columnsLayout(
          columns: {
            a!columnLayout(
              contents: {
                a!cardLayout(
                  contents: {
                    a!sideBySideLayout(
                      items:{
                        a!sideBySideItem(
                          item:a!richTextDisplayField(
                            value:{
    
                              a!richTextItem(
                                text: " ",
                                style: "STRONG"
                              ),
                              a!richTextItem(
                                text: "Summary",
                                style: "STRONG"
                              ),
                              a!richTextItem(
                                text: " ",
                                style: "STRONG"
                              )
                            },
                            align:"CENTER"
                          )
                        )
                      }
                    )
                  },
                  link:a!dynamicLink(
                    saveInto: {
                      a!save(
                        local!action,
                        1
                      )
                    }
                  ),
                  tooltip:"Click here for the summary",
                  style: if(
                    local!action=1,
                    "ACCENT",
                    "STANDARD"
                  ),
                  height:"AUTO",
                  marginBelow: "NONE"
                )
              }
            ),
            a!columnLayout(
              contents: {
                a!cardLayout(
                  contents: {
                    a!sideBySideLayout(
                      items:{
                        a!sideBySideItem(
                          item:a!richTextDisplayField(
                            value:{
    
                              a!richTextItem(
                                text: "Employee",
                                style: "STRONG"
                              ),
                              a!richTextItem(
                                text: " ",
                                style: "STRONG"
                              )
                            },
                            align:"CENTER"
                          )
                        )
                      }
                    )
                  },
                  link:a!dynamicLink(
                    saveInto: {
                      a!save(
                        local!action,
                        2
                      )
                    }
                  ),
                  tooltip:"Click here for employee",
                  style: if(
                    local!action=2,
                    "ACCENT",
                    "STANDARD"
                  ),
                  height:"AUTO",
                  marginBelow: "NONE"
                )
              }
            ),
            a!columnLayout(
              contents: {
                a!cardLayout(
                  contents: {
                    a!sideBySideLayout(
                      items:{
                        a!sideBySideItem(
                          item:a!richTextDisplayField(
                            value:{
                              a!richTextItem(
                                text: "Firm",
                                style: "STRONG"
                              ),
                              a!richTextItem(
                                text: " ",
                                style: "STRONG"
                              )
                            },
                            align:"CENTER"
                          )
                        )
                      }
                    )
                  },
                  link:a!dynamicLink(
                    saveInto: {
                      a!save(
                        local!action,
                        3
                      )
                    }
                  ),
                  tooltip:"Click here for firm",
                  style: if(
                    local!action=3,
                    "ACCENT",
                    "STANDARD"
                  ),
                  height:"AUTO",
                  marginBelow: "NONE"
                )
              }
            )
          }
        ),
        a!cardLayout(
          contents: {
            if(
              local!action = 0,
              {},
              choose(
                local!action,
                a!sectionLayout(
                  label:"Summary",
                  contents: {
                    a!textField(
                      label: "Value",
                      value: "Test",
                      refreshAfter: "KEYPRESS",
                      readOnly: true()
                    ),
                  }
                ),
                a!sectionLayout(
                  label:"Employee",
                  contents: {
                    a!textField(
                      label: "Value",
                      value: "Test",
                      refreshAfter: "KEYPRESS",
                      readOnly: true()
                    ),
                  }
                ),
                a!sectionLayout(
                  label:"Firm",
                  contents: {
                    a!textField(
                      label: "Value",
                      value: "Test",
                      refreshAfter: "KEYPRESS",
                      readOnly: true()
                    ),
                  }
                )
              )
            )
            
          },
          style: "NONE"
        )
      }
    )