Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gear: userspace permissions interface (types + pokes) #187

Closed
wants to merge 8 commits into from

Conversation

tomholford
Copy link
Contributor

@tomholford tomholford commented May 26, 2023

Context

This is part of an ongoing effort to implement Userspace Permissions UI (#182).

The Typescript types are derived from lull.hoon in this PR:
https://github.com/urbit/urbit/pull/6493/files#diff-01fd10efd392903ad3f191b1caddb67dba7d57d11997894173665d20f0d42477

and lib/perms.hoon from here:
https://github.com/tloncorp/landscape/pull/164/files#diff-418361e9c7bf8b945e9e34d68b4a363ba4ea46e2c400be84df6bdab9d15664e2

The updates for Permissions are in two separate repos: urbit/urbit and tloncorp/landscape:

  • passport lives in urbit/urbit due to it's usage in the upcoming |okay perms mgmt cli tool
  • Treaty and Pike updates live in tloncorp/landscape

This resolves #177

Changes

Fixes LAND-514

- copied lib and types from @urbit/api repo to gear/
- migrated webterm types (see: urbit/webterm#3)
- rename S3 --> Storage
also uninstall @urbit/api
- remove @urbit/api
- remove @urbit/http-api
- remove urbit-ob
- add @urbit/aura
- add urbit/js-http-api (via github repo)
- remove all references to @urbit/api
- replace with references to @/gear for most types, @urbit/aura for helpers, and js-http-api for network types (via the github repo; replace with npm package when published)
@tomholford tomholford changed the base branch from master to t/gear May 26, 2023 19:22
@tomholford tomholford mentioned this pull request May 26, 2023
14 tasks
ui/src/gear/hood/types.ts Outdated Show resolved Hide resolved
@tomholford
Copy link
Contributor Author

@tinnus-napbus or @Fang- : could use your feedback on the inline comments at your convenience

@tomholford tomholford added the wip label May 26, 2023
@linear
Copy link

linear bot commented Jun 6, 2023

LAND-514 migrate tloncorp/landscape references types and api pokes

  • replace the references to urbit/api with the imported gear/ dir
  • hark, contacts, settings, storage, userspace permissions, kiln
  • no longer need graph storage, groups, or channels
  • move webterm types and pokes to tloncorp/webterm

Base automatically changed from t/gear to master June 8, 2023 23:05
@tomholford
Copy link
Contributor Author

Based on out of band conversation with ~tinnus-napbus, some changes are necessary for this interface. Closing in favor of #195

@tomholford tomholford closed this Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement new types and pokes for userspace permissions
2 participants