mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-26 09:18:48 +08:00
23 lines
581 B
JavaScript
23 lines
581 B
JavaScript
|
module.exports = [
|
||
|
{
|
||
|
title: `Kyle creates a file; Eric tries access read it`,
|
||
|
sequence: [
|
||
|
{
|
||
|
call: 'create-example-file',
|
||
|
as: 'testuser_kyle',
|
||
|
with: {
|
||
|
name: 'example.txt',
|
||
|
contents: 'secret file',
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
call: 'assert-no-access',
|
||
|
as: 'testuser_eric',
|
||
|
with: {
|
||
|
path: '/testuser_kyle/Desktop/example.txt'
|
||
|
}
|
||
|
},
|
||
|
]
|
||
|
}
|
||
|
];
|