##// END OF EJS Templates
fix(permissions): added a common way to update private flag via repo model...
fix(permissions): added a common way to update private flag via repo model - this allows to have a one and only one way to control the flag with the business logic shared - added test for that - changed view to use this method instead of DB update and custom permissions flush - fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed

File last commit:

r5037:bd722d6e default
r5551:5b9b5ed2 default
Show More
pull_request_update.mako
25 lines | 682 B | application/x-mako | MakoHtmlLexer
Pull request updated. Auto status change to |under_review|
.. role:: added
.. role:: removed
.. parsed-literal::
Changed commits:
* :added:`${len(added_commits)} added`
* :removed:`${len(removed_commits)} removed`
%if not changed_files:
No file changes found
%else:
Changed files:
%for file_name in added_files:
* `A ${file_name} <#${'a_' + h.FID(ancestor_commit_id, file_name)}>`_
%endfor
%for file_name in modified_files:
* `M ${file_name} <#${'a_' + h.FID(ancestor_commit_id, file_name)}>`_
%endfor
%for file_name in removed_files:
* `R ${file_name}`
%endfor
%endif
.. |under_review| replace:: *"${under_review_label}"*