source: examples/python_tests/access_rt2/access.save @ 4b46680

mei_rt2mei_rt2_fix_1
Last change on this file since 4b46680 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
RevLine 
[5110d42]1% Restoring file /usr/local/lib/Yap/startup.yss
2
[7211a95]3...final principal set...
[5d06689]4(pAlpha,keyid,y)
5(pBob,keyid,y)
6(pJoe,keyid,y)
7
[7211a95]8...final policy attribute set...
[5d06689]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
[f824a9e]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
[5d06689]20
[f824a9e]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.