TACTIC Open Source
about security rules - Printable Version

+- TACTIC Open Source (http://forum.southpawtech.com)
+-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3)
+--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4)
+--- Thread: about security rules (/showthread.php?tid=107)

about security rules - EricTsuei - 04-30-2020

Can I disable edit when a task's status is approved?

something like this:

<rule group="element" search_type="sthpw/task" key="bid_end_date" column="status" value="Approved" access="view"/>

so when "status" is "Approved", no one in this group can edit this "bid_end_date" anymore.
this code works without  '  column="status" value="Approved"  '

RE: about security rules - listy - 04-30-2020

You can add trigger (js), which will be fired when status change is made, and check the user who made a change doesn't allowed, and reject transaction.

RE: about security rules - EricTsuei - 05-06-2020

ok, I'll try it