unitycatalog / unitycatalog/unitycatalog
[Question] - Unity Catalog permissions in Docker image
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.5k
- Forks
- 672
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 30
Description
I'm currently experimenting with Unity Catalog using the latest Docker image (0.5.0). I'm following the guide to create new users. After setting permissions the response is an empty list.
Docker Compose:
---
name: unitycatalog
services:
server:
image: unitycatalog/unitycatalog:v0.5.0
ports:
- "8080:8080"
UC output:
~ $ bin/uc --auth_token $(cat etc/conf/token.txt) user create --name "Bobbie Draper" --email bobbie@rocinante
┌────────────────────┬────────────────────────────────────────┐
│ KEY │ VALUE │
├────────────────────┼────────────────────────────────────────┤
│ID │21546363-bf3c-4b43-a924-9fc94992891b │
├────────────────────┼────────────────────────────────────────┤
│NAME │Bobbie Draper │
├────────────────────┼────────────────────────────────────────┤
│EMAIL │bobbie@rocinante │
├────────────────────┼────────────────────────────────────────┤
│EXTERNAL_ID │null │
├────────────────────┼────────────────────────────────────────┤
│STATE │ENABLED │
├────────────────────┼────────────────────────────────────────┤
│PICTURE_URL │null │
├────────────────────┼────────────────────────────────────────┤
│CREATED_AT │1783580955776 │
├────────────────────┼────────────────────────────────────────┤
│UPDATED_AT │1783580955791 │
└────────────────────┴────────────────────────────────────────┘
~ $ bin/uc --auth_token $(cat etc/conf/token.txt) permission create --securable_type catalog --name unity --privilege 'US
E CATALOG' --principal bobbie@rocinante
[]
~ $ bin/uc permission get --securable_type catalog --name unity
[]
What am I missing here? Guidance on how to make the permissions API work with a local Docker image would be greatly appreciated.
Thanks in advance for any feedback!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked user and permissions guide, the Docker Compose definition, and the bin/uc permission create/get commands; reproduce them against unitycatalog/unitycatalog:v0.5.0. Compare the empty responses with the guide and determine what behavior should confirm that permissions were created successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- api, authorization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100