source: examples/python_tests/access_rt2/access.save @ 47d5cf9

mei_rt2mei_rt2_fix_1
Last change on this file since 47d5cf9 was 7211a95, checked in by Mei <mei@…>, 12 years ago

1) add more python examples
2) add the missing linking role and linking oset api calls
3) fix the output of time typed data term/oset obj in typed_string format

(transform back from yap time format to our ddddddddTdddddd format

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