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 Children
  • 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"
        )
      }
    )