Joey
01/24/2022, 7:07 PMArash
01/24/2022, 7:08 PMJoey
01/24/2022, 7:10 PMnamespace
ecordell
01/24/2022, 7:10 PMuser
and user_profile
) instead of just oneArash
01/24/2022, 7:30 PMJoey
01/24/2022, 7:30 PMJoey
01/24/2022, 7:30 PMJoey
01/24/2022, 7:31 PMdefinition namespace {
relation user: user
relation organization: organization
permission edit = user + organization->create_user
permission view = viewer + edit + organization->member
}
Joey
01/24/2022, 7:31 PMJoey
01/24/2022, 7:32 PMJoey
01/24/2022, 7:32 PMArash
01/24/2022, 7:36 PMself
for now.Arash
01/24/2022, 7:36 PMSleipnir
01/24/2022, 8:03 PMzed
in a docker image? alpine
and ubuntu
don't have it by default.Jake
01/24/2022, 8:04 PMSleipnir
01/24/2022, 8:05 PMquay.io/authzed/zed
but that didn't seem to work.Jake
01/24/2022, 8:05 PMSleipnir
01/24/2022, 8:05 PMJake
01/24/2022, 8:06 PMSleipnir
01/24/2022, 9:14 PM/data # wget https://github.com/authzed/zed/releases/download/v0.3.0/zed_0.3.0_linux_amd64.apk
Connecting to github.com (140.82.112.3:443)
Connecting to objects.githubusercontent.com (185.199.108.133:443)
saving to 'zed_0.3.0_linux_amd64.apk'
zed_0.3.0_linux_amd6 100% |************************************************************************************************************************************************************************| 9082k 0:00:00 ETA
'zed_0.3.0_linux_amd64.apk' saved
/data # apk add zed_0.3.0_linux_amd64.apk --allow-untrusted
OK: 31 MiB in 16 packages
/data # ls /usr/local/bin -la
total 25228
drwxr-xr-x 1 root root 4096 Jan 24 21:05 .
drwxr-xr-x 1 root root 4096 Nov 24 09:20 ..
-rwxr-xr-x 1 root root 25821184 Jan 20 15:57 zed
/data # /usr/local/bin/zed
/bin/sh: /usr/local/bin/zed: not found
/data # uname -a
Linux 1637da6738c3 5.10.76-linuxkit #1 SMP Mon Nov 8 10:21:19 UTC 2021 x86_64 Linux
/data #
Sleipnir
01/24/2022, 9:14 PMJoey
01/24/2022, 9:15 PM./zed
in that dir?Sleipnir
01/24/2022, 9:17 PM/data # cd /usr/local/bin
/usr/local/bin # ls -la
total 25228
drwxr-xr-x 1 root root 4096 Jan 24 21:05 .
drwxr-xr-x 1 root root 4096 Nov 24 09:20 ..
-rwxr-xr-x 1 root root 25821184 Jan 20 15:57 zed
/usr/local/bin # ./zed
/bin/sh: ./zed: not found
/usr/local/bin #
Joey
01/24/2022, 9:18 PMSleipnir
01/24/2022, 9:18 PMJoey
01/24/2022, 9:18 PMJoey
01/24/2022, 9:19 PMSleipnir
01/24/2022, 9:19 PMSleipnir
01/24/2022, 9:20 PMSleipnir
01/24/2022, 9:20 PM