Subversion Repositories wimsdev

Rev

Rev 3974 | Rev 4225 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3974 guerimand 1
!if $wims_supertype!=0 and $class_typename isitemof portal,group,level
2
 noarch=yes
3
 !exit
4
!endif
23 reyssat 5
 
1407 bpr 6
reclist=user,exo,sheet,exam,doc,sup,def,neighbor,log,forum,score,manual,cdt,vote,livret,seq
3974 guerimand 7
!! test of sharing ressources
8
!if $class_typename!=program
9
 test_sharing=!defof sharable_all in wimshome/log/classes/$wims_class/neighbors
10
!endif
23 reyssat 11
 
3974 guerimand 12
!if $test_sharing!=$empty
13
 !bound job2 within first,download default first
14
!else
15
 !bound job2 within first,upload,download,restore default first
16
!endif
17
 
18
!! restriction of restore ressource in portal
3976 guerimand 19
!if $job2 isitemof restore,upload and $wims_supertype=4
3974 guerimand 20
 reclist_portal=sup,neighbor,log,def
21
 reclist_program=$(reclist_portal),exo,sheet,exam,doc,vote,livret,seq
22
 reclist_class=$(reclist_portal),user
23
 reclist_course=$(reclist_portal),score,manual,cdt
24
 reclist=$(reclist_$(wims_typename))
25
!endif
26
 
23 reyssat 27
!if $job2=upload and $wims_deposit=$empty
28
 job2=first
29
!endif
30
 
31
!if $job2!=first
32
 !read arch/$job2.proc
33
!endif
34
 
35
!if $job2 iswordof upload restore and $error!=$empty
36
 job2=first
37
!endif