This
message sent yesterday didn’t show up.
Hello
I try the following ASG
configuration file:
UAG(tous) {spiral2, spiral2mgr, gournay}
UAG(physique) {spiral2}
UAG(develop) {spiral2mgr}
UAG(gournay) {gournay}
HAG(hag) {dappck110}
ASG(DEFAULT) {
INPA(ASGVAL)
RULE(1,READ)
RULE(1,WRITE) {
UAG(tous)
HAG(hag)
CALC("A&1=1")
}
RULE(1,WRITE) {
UAG(develop)
HAG(hag)
CALC("A>>1=1")
}
RULE(1,WRITE) {
UAG(physique)
HAG(hag)
CALC("A>>2=1")
}
RULE(1,WRITE) {
UAG(gournay)
HAG(hag)
CALC("A>>3=1")
}
}
The idea is to change
WRITE permission depending on the value of a longout record ASGVAL (ASGVAL.VAL
= 1,2,4,8)
It doesn’t work: for
A=1 the 3 users defined in “tous” have WRITE access whatever UAG.
For A != 1 no WRITE access at all. As I am in ASG DEFAULT, I did’nt
specify anything for the ASG Fields in the database.
What is wrong in this scheme?
Another point: I
did’nt really understand the meaning of RULE(1 … vs RULE(0 …
Thanks!
J.F. Gournay
CEA Saclay
IRFU/SIS