Dannymh
Active member
Hi All,
I have an addon I am writing that elevates users based on conditions to a specific secondary user group. Once they perform a certain action I remove that permission or group from them.
Basically if they visit a certain page and match criteria X they get a new user group. That page is a form, once they complete the form it will remove the secondary user group as part of the save process.
However I am trying to think about when they go to that page and abandon the changes and go elsewhere. In that case I need to run this process on essentially every other page to check if they meet those conditions and immediately remove that user group.
I am trying to think of the best way to do that and what controller I should hook into in order to do this.
Any thoughts?
I have an addon I am writing that elevates users based on conditions to a specific secondary user group. Once they perform a certain action I remove that permission or group from them.
Basically if they visit a certain page and match criteria X they get a new user group. That page is a form, once they complete the form it will remove the secondary user group as part of the save process.
However I am trying to think about when they go to that page and abandon the changes and go elsewhere. In that case I need to run this process on essentially every other page to check if they meet those conditions and immediately remove that user group.
I am trying to think of the best way to do that and what controller I should hook into in order to do this.
Any thoughts?