~ubuntu-branches/ubuntu/saucy/jenkins/saucy

« back to all changes in this revision

Viewing changes to core/src/main/resources/hudson/security/GlobalMatrixAuthorizationStrategy/config.jelly

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-01-10 09:50:50 UTC
  • mfrom: (5.1.10 experimental)
  • Revision ID: package-import@ubuntu.com-20130110095050-kj8xuw20gcfh62k3
Tags: 1.480.2+dfsg-1~exp1
* New upstream release (Closes: #696816, #697617):
  - d/control: Added new BD on libjbcrypt-java.
  - d/control: Versioned BD jenkins-winstone >= 0.9.10-jenkins-40.
  - d/control: Versioned BD jenkins-trilead-ssh2 >= 214-jenkins-1.
  - Fixes the following security vulnerabilities:
    CVE-2012-6072, CVE-2012-6073, CVE-2012-6072, CVE-2013-0158.
* Tidied lintian warnings.
* Bumped Standards-Version: 3.9.4, no changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
        });
145
145
      })();
146
146
 
147
 
      Behaviour.register({
148
 
        "#${strategyid} TD.stop A.remove" : function(e) {
 
147
      Behaviour.specify("#${strategyid} TD.stop A.remove", 'GlobalMatrixAuthorizationStrategy', 0, function(e) {
149
148
          e.onclick = function() {
150
149
            var tr = findAncestor(this,"TR");
151
150
            tr.parentNode.removeChild(tr);
152
151
            return false;
153
152
          }
154
153
          e = null; <!-- avoid memory leak -->
155
 
        },
156
 
        "#${strategyid} TD.stop A.toggleall" : function(e) {
 
154
        });
 
155
      Behaviour.specify("#${strategyid} TD.stop A.toggleall", 'GlobalMatrixAuthorizationStrategy', 0, function(e) {
157
156
          e.onclick = function() {
158
157
            var tr = findAncestor(this,"TR");
159
158
            var inputs = tr.getElementsByTagName("INPUT");
163
162
            return false;
164
163
          };
165
164
          e = null; <!-- avoid memory leak -->
166
 
        },
 
165
        });
167
166
        <j:if test="${empty(descriptorPath)}">
168
167
          <j:set var="descriptorPath" value="${descriptor.descriptorFullUrl}"/>
169
168
        </j:if>
170
169
        <!-- validates the name -->
171
 
        "#${strategyid} TR.permission-row" : function(e) {
 
170
        Behaviour.specify("#${strategyid} TR.permission-row", 'GlobalMatrixAuthorizationStrategy', 0, function(e) {
172
171
          FormChecker.delayedCheck("${descriptorPath}/checkName?value="+encodeURIComponent(e.getAttribute("name")),"GET",e.firstChild);
173
 
        }
174
 
      });
 
172
        });
175
173
    </script>
176
174
  </f:block>
177
175
</j:jelly>