Expose "merge request tracking" feature for People data

more to come i'm sure, but this covers the basics
This commit is contained in:
Lance Edgar 2021-08-19 18:00:51 -05:00
parent cf32d4235e
commit ac133ce830
4 changed files with 279 additions and 3 deletions

View file

@ -378,7 +378,7 @@ class MasterView(View):
Return a dictionary of kwargs to be passed to the factory when creating
new grid instances.
"""
checkboxes = self.checkboxes
checkboxes = kwargs.get('checkboxes', self.checkboxes)
if not checkboxes and self.mergeable and self.has_perm('merge'):
checkboxes = True
if not checkboxes and self.supports_set_enabled_toggle and self.has_perm('enable_disable_set'):