Changeset 372
- Timestamp:
- 02/04/2014 10:08:20 PM (11 years ago)
- Location:
- sites/trunk/trac.wordpress.org
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/trac.wordpress.org/conf/notifications.ini
r292 r372 1 1 [blackmagic] 2 cc. hide = true2 cc.disable = true 3 3 4 4 [components] -
sites/trunk/trac.wordpress.org/conf/workflow-core.ini
r292 r372 14 14 assign = new -> assigned 15 15 assign.operations = set_owner 16 assign.permissions = TICKET_ ADMIN16 assign.permissions = TICKET_EDIT_DESCRIPTION 17 17 assign.default = -10 18 18 19 19 reassign = assigned,accepted,reopened -> assigned 20 20 reassign.operations = set_owner 21 reassign.permissions = TICKET_ ADMIN21 reassign.permissions = TICKET_EDIT_DESCRIPTION 22 22 reassign.default = -10 23 23 24 24 accept = new,reviewing,assigned,accepted,reopened -> accepted 25 25 accept.operations = set_owner_to_self 26 accept.permissions = TICKET_ ADMIN26 accept.permissions = TICKET_EDIT_DESCRIPTION 27 27 accept.default = -11 28 28 29 29 review = new,assigned,reopened -> reviewing 30 30 review.operations = set_owner 31 review.permissions = TICKET_ ADMIN31 review.permissions = TICKET_EDIT_DESCRIPTION 32 32 review.default = -12 33 33 … … 35 35 reassign_reviewing.name = reassign review 36 36 reassign_reviewing.operations = set_owner 37 reassign_reviewing.permissions = TICKET_ ADMIN37 reassign_reviewing.permissions = TICKET_EDIT_DESCRIPTION 38 38 reassign_reviewing.default = -12 39 39 … … 58 58 fix.name = close 59 59 fix.operations = set_resolution 60 fix.permissions = TICKET_ ADMIN60 fix.permissions = TICKET_EDIT_DESCRIPTION 61 61 fix.set_resolution = fixed 62 62 fix.default = -23 … … 75 75 change_resolution.name = change the resolution, set 76 76 change_resolution.operations = set_resolution 77 change_resolution.permissions = TICKET_ ADMIN77 change_resolution.permissions = TICKET_EDIT_DESCRIPTION 78 78 change_resolution.default = -31 79 79 … … 81 81 change_to_duplicate.name = mark as duplicate of # 82 82 change_to_duplicate.operations = set_duplicate 83 change_to_duplicate.permissions = TICKET_ ADMIN83 change_to_duplicate.permissions = TICKET_EDIT_DESCRIPTION 84 84 change_to_duplicate.default = -32 -
sites/trunk/trac.wordpress.org/templates/site.html
r369 r372 8 8 project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0] 9 9 wporg_endpoint = '//make.wordpress.org/core/' 10 is_bug_gardener = 'TICKET_EDIT_DESCRIPTION' in perm(resource) 10 11 11 12 if project_slug == 'core': … … 59 60 fields_map[ fields[i]['name'] ] = i 60 61 ?> 61 62 <script type="text/javascript" charset="utf-8" src="/chrome/common/js/jquery.js"></script>63 62 64 63 <!--! styles and such --> … … 166 165 167 166 <!--! force non-gardeners to preview before posting --> 168 <py:if test="not ( 'TICKET_ADMIN' in perm(resource) or 'Bug Gardener' in perm(resource) )and not 'preview' in req.args">167 <py:if test="not is_bug_gardener and not 'preview' in req.args"> 169 168 <py:match path="form[@id='propertyform']/div[@class='buttons']" once="true"> 170 169 <div py:attrs="select('@*')"> … … 204 203 205 204 <!--! Remove 'Replace existing attachment of the same name' checkbox for non-gardeners --> 206 <py:if test="not ( 'TICKET_ADMIN' in perm(resource) or 'Bug Gardener' in perm(resource) )">205 <py:if test="not is_bug_gardener"> 207 206 <py:match path="form[@id='attachment']//div[@class='options']" py:strip="" /> 208 207 </py:if> … … 293 292 <xi:include href="wporg-footer.html" /> 294 293 295 <script py:if=" 'TICKET_ADMIN' in perm(resource) or 'Bug Gardener' in perm(resource)">294 <script py:if="is_bug_gardener"> 296 295 var wpBugGardener = true; 297 296 </script>
Note: See TracChangeset
for help on using the changeset viewer.