1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/herald
Jason Ge 42383214ea Enable admin to view and delete other users' herald rules
Summary:
enable admin to delete user's herald rules. This is useful for
managing non-active users' rules. For example, ex-employees' rules. The
code change includes:

 - Added a 'All' tab which is only accessible to admin.
 - Refactor out a HeraldRuleListView which is used by both the home
   controller and the all rule controller

Test Plan:
delete an ex-employee rule as an admin; disable myself as
admin and verified that I don't have access to view other user's rules
and I'am not be able to delete them; also verified that as a non-admin,
I can still view, create and delete my own rules.

Reviewers: epriestley, nh

Reviewed By: epriestley

CC: aran, epriestley, jungejason

Differential Revision: 1064
2011-11-15 16:21:51 -08:00
..
adapter herald: add the ability to execute a rule the first time only 2011-06-09 10:35:37 -07:00
config herald: add the ability to execute a rule the first time only 2011-06-09 10:35:37 -07:00
controller Enable admin to view and delete other users' herald rules 2011-11-15 16:21:51 -08:00
engine Fix Herald exception when updating a diff that has carryover CCs 2011-06-09 14:10:40 -07:00
storage Make Herald Rules sticky in X-Herald-Rules 2011-08-17 10:38:29 -07:00
view/rulelist Enable admin to view and delete other users' herald rules 2011-11-15 16:21:51 -08:00