You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensibility/authorizer/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ The sample implementation of the authorizer interface `authorization.Authorizer`
6
6
### Steps to run this sample
7
7
1. Start up the dependencies by running the `make start-dependencies` command from within the main Temporal repository as described in the [contribution guide](https://github.com/temporalio/temporal/blob/master/CONTRIBUTING.md#run-temporal-server-locally).
8
8
9
-
2. Create the database schema by running `make install-schema`.
9
+
2. Create the database schema by running `make install-schema-cass-es`.
10
10
11
11
3. Start Temporal by running `go run authorizer/server/main.go`.
12
12
13
-
4. Use `tctl` to interact with Temporal
13
+
4. Use `temporal` cli to interact with Temporal
14
14
15
-
- Run `tctl n l` to list available namespaces. You should only see "temporal-system" initially.
16
-
- Run `tctl --ns test n register` to create a namespace "test"
17
-
- Run `tctl n l` to see "test" listed
18
-
- Run `tctl --ns test n update` to try to update the "test" namespace. You should see a `PermissionDenied` error because `myAuthorizer` denies `UpdateNamespace` calls.
15
+
- Run `temporal operator namespace list` to list available namespaces. You should only see "temporal-system" initially.
16
+
- Run `temporal operator namespace create -n test` to create a namespace "test"
17
+
- Run `temporal operator namespace list` to see "test" listed
18
+
- Run `temporal operator namespace update -n test` to try to update the "test" namespace. You should see a `PermissionDenied` error because `myAuthorizer` denies `UpdateNamespace` calls.
0 commit comments