Changeset 2240
- Timestamp:
- May 31, 2012, 3:10:23 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r2180 r2240 41 41 // set up a client (=external program) role if it does not exist 42 42 def clientRole = SecRole.findByAuthority('ROLE_CLIENT') ?: new SecRole(authority: 'ROLE_CLIENT').save(failOnError: true) 43 def templateAdminRole = SecRole.findByAuthority('ROLE_TEMPLATEADMIN') ?: new SecRole(authority: 'ROLE_TEMPLATEADMIN').save(failOnError: true) 43 44 44 45 // set up authentication (if required) -
trunk/grails-app/conf/BuildConfig.groovy
r2239 r2240 61 61 plugins { 62 62 compile(":hibernate:$grailsVersion") 63 compile ':tomcat:1.3. 9'63 compile ':tomcat:1.3.7' 64 64 compile ':jquery:1.7.1' 65 65 compile ':grom:0.2.3' … … 67 67 compile ':crypto:2.0' 68 68 compile ':spring-security-core:1.2.7.3' 69 compile(':gdt:0.2. 1') {69 compile(':gdt:0.2.2') { 70 70 // disable plugin dependency transition because it's horribly broken 71 71 // note: this assumes that ajaxflow, jquery and cryto stay included -
trunk/grails-app/domain/dbnp/authentication/SecUser.groovy
r2232 r2240 55 55 return getAuthorities().contains(SecRole.findByAuthority('ROLE_ADMIN')); 56 56 } 57 58 public boolean hasTemplateAdminRights() { 59 return getAuthorities().contains(SecRole.findByAuthority('ROLE_TEMPLATEADMIN')); 60 } 57 61 58 62 /** -
trunk/grails-app/views/api/index.gsp
r2225 r2240 75 75 <h2>SDK packages</h2> 76 76 <li><a href="https://github.com/4np/gscf4php" target="_new">PHP</a> - Object Oriented SDK for interacting with GSCF</li> 77 <li><a href="https://github.com/thomaskelder/R2GSCF" target="_new">R</a> - R Client to connect to GSCF</li> 77 78 78 79 <a name="authenticate"></a> -
trunk/web-app/js/studywizard.js
r1865 r2240 49 49 }); 50 50 51 // handle template selects52 new SelectAddMore().init({53 rel : 'template',54 url : baseUrl + '/templateEditor',55 vars : 'entity,ontologies',56 label : 'add / modify..',57 style : 'modify',58 onClose : function(scope) {59 refreshFlow();60 }61 });62 63 51 // Handle person selects 64 52 new SelectAddMore().init({ … … 72 60 } 73 61 }); 62 63 // handle template selects 64 new SelectAddMore().init({ 65 rel : 'templateAdmin', 66 url : baseUrl + '/templateEditor', 67 vars : 'entity,ontologies', 68 label : 'add / modify..', 69 style : 'modify', 70 onClose : function(scope) { 71 refreshFlow(); 72 } 73 }); 74 75 // handle template selects 76 new SelectAddMore().init({ 77 rel : 'templateUser', 78 url : baseUrl + '/forms/templateRequestForm.gsp', 79 vars : 'entity,ontologies', 80 label : 'email request..', 81 style : 'modify', 82 onClose : function(scope) { 83 refreshFlow(); 84 } 85 }); 74 86 75 87 // Handle personRole selects
Note: See TracChangeset
for help on using the changeset viewer.