Ref T603. Allows custom policies to be saved. No integration with policy controls yet.
Details
Details
- Reviewers
btrahan - Maniphest Tasks
- T603: Support permissions/policies in all Phabricator applications
- Commits
- Restricted Diffusion Commit
rP5899ae08b32b: Add storage for custom policies
mysql> select * from policy where id = 3\G *************************** 1. row *************************** id: 3 phid: PHID-PLCY-e4v2fnbyuibi4supl5tn rules: [{"action":"allow","rule":"PhabricatorPolicyRuleAdministrators","value":null},{"action":"allow","rule":"PhabricatorPolicyRuleProjects","value":["PHID-PROJ-cwovm5gn2ilubjehcdgd"]},{"action":"allow","rule":"PhabricatorPolicyRuleLunarPhase","value":"new"}] defaultAction: deny dateCreated: 1381437466 dateModified: 1381437466 1 row in set (0.00 sec)
Diff Detail
Diff Detail
- Branch
- pstore1
- Lint
Lint Passed Severity Location Code Message Advice src/applications/policy/controller/PhabricatorPolicyEditController.php:70 XHP16 TODO Comment - Unit
Tests Passed