Discussions

Expand all | Collapse all

Button that ignores users restrictive permissions?

  • 1.  Button that ignores users restrictive permissions?

    Posted 08-18-2021 09:21
    Hi,

    I have a situation where I don't allow a user role to edit a record once the status of the record has changed. However, they need to click a button which edits the record but due to me restricting their ability to edit the record, this button will not work.

    Is there a way round this? Is there a way for the button to override user's roles?

    Thanks

    ------------------------------
    Gregory Robinson
    ------------------------------


  • 2.  RE: Button that ignores users restrictive permissions?

    Posted 08-18-2021 09:28
    There is not a way to have a button change the Users Permissions.  

    An Alternative might be to have a button that adds a record to a child table which the user does have permission to edit.  For example the table might be called Cancellation Requests (ie the record is submitted and now the user wants to update a status to CANCEL.

    Then when a child record is added there an Automation or a Pipeline could be triggered to edit the Parent record.  Automations and pipelines typically operate under Admin permissions so they can do the update to the Parent record..

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------



  • 3.  RE: Button that ignores users restrictive permissions?

    Posted 08-18-2021 10:28
    Thanks for your reply!

    That's a clever solution. In my case not sure it will work because part of this button is to create a new record and copy fields across too, while editing the existing.

    Many thanks,
    Greg

    ------------------------------
    Gregory Robinson
    ------------------------------



  • 4.  RE: Button that ignores users restrictive permissions?

    Posted 08-18-2021 10:54
    well a Pipeline or Automation can have many steps, like edit a record here and add a record there ....

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------