source: examples/python_tests/access_rt2/access.save @ 08c8a53

mei_rt2mei_rt2_fix_1
Last change on this file since 08c8a53 was f824a9e, checked in by Mei <mei@…>, 12 years ago

1) add more doc to python_tests

  • Property mode set to 100644
File size: 733 bytes
Line 
1% Restoring file /usr/local/lib/Yap/startup.yss
2
3...final principal set...
4(pAlpha,keyid,y)
5(pBob,keyid,y)
6(pJoe,keyid,y)
7
8...final policy attribute set...
9pAlpha.access('Read','file//fileB') <- pBob
10pAlpha.access('Read',F:pAlpha.documents(P)) <- pAlpha.team(P)
11pAlpha.team('proj1') <- pBob
12pAlpha.documents('proj1') <- 'file//fileA'
13pAlpha.team('proj2') <- pJoe
14
15===good============ Alpha.access(Read,fileA)<-?-Bob
16YAP query succeed
17pAlpha.access('Read',F:pAlpha.documents(P)) <- pAlpha.team(P)
18pAlpha.documents('proj1') <- 'file//fileA'
19pAlpha.team('proj1') <- pBob
20
21===bad============ Alpha.access(Read,fileA)<-?-Joe
22YAP query failed
23
24===good============ Alpha.team(proj2)<-?-Joe
25YAP query succeed
26pAlpha.team('proj2') <- pJoe
Note: See TracBrowser for help on using the repository browser.