commit | fc39c552cffb94d15797d02e272fdc543c35b6bd | [log] [tgz] |
---|---|---|
author | Jacek Centkowski <geminica.programs@gmail.com> | Mon Nov 09 20:33:47 2015 +0100 |
committer | Jacek Centkowski <geminica.programs@gmail.com> | Fri Aug 19 08:24:00 2016 +0200 |
tree | db137cd3077951eb4e38c5397f188c9869d97d1e | |
parent | d7d303c48fdd0c64d822245b9262266d13559991 [diff] |
Add user ref operation validation example. The following example blocks any update to any ref that starts with 'refs/heads/protected-' prefix if it is performed by user that has no 'Administrate Server' capability. Change-Id: If5373d238a4d30fc450a4114e6af51d6536ae91a Signed-off-by: Jacek Centkowski <geminica.programs@gmail.com>