Changes to the question

Access Control Rules - can you override the rule to exclude one specific controller

In order to preserve the promise of transparency and open communication, the change log records changes to topics made by both customers and employees. Anyone can dispute a change by clicking the "Dispute" link and entering additional details.


  • October 21, 2019 23:49
    sdms
    Change in reply by sdms to Thanks Peter but not sure if it’s as simple as an elseif statement as I need the first rule to run regardless of what’s in the elseif statement. Based on what COT said in the above link for the records to appear each rule must equate to true. I thought the issue might be to do with the where clause as it’s trying to match the userID with the users company ID so I added another rule which is the same as the one above but my where clause for this one is.. where userID = @userID or userID &lt;&gt; @userID<br /> <br />But doesn’t seem to work because the companyID still doesn’t match the company ID for that user therefore equates to false<br /> <br />Still trying to get my head around it.
  • October 21, 2019 23:48
    sdms
    Change in reply by sdms to Thanks Peter but not sure if it’s as simple as an elseif statement as I need the first rule to run regardless of what’s in the elseif statement. Based on what COT said in the above link for the records to appear each rule must equate to true. I thought the issue might be to do with the where clause as it’s trying to match the userID with the users company ID so I added another rule which is the same as the one above but my where clause for this one is.. where userID = @userID or userID &lt;&gt; @userID <br /> But doesn’t seem to work because the companyID doesn’t match therefore equates to false <br /> Still trying to get my head around it.

See all changes made to topics in this company