You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/07/02 16:34:01 UTC
[GitHub] [superset] codegeekjk opened a new issue #15530: Not Able to Update DataSet Owner in Superset
codegeekjk opened a new issue #15530:
URL: https://github.com/apache/superset/issues/15530
A clear and concise description of what the bug is.
### Expected results
When I click on a Dataset I am not able to update the owner for the datasets as the Owner list is not rendered and I am not able to see all the users in the drop down
### Actual results
Should be able to update the Owner of the datasets
#### Screenshots
<img width="879" alt="Screenshot 2021-07-02 at 10 02 06 PM" src="https://user-images.githubusercontent.com/78748706/124304327-27cde080-db81-11eb-8117-b6a9b8b7d7b0.png">
#### How to reproduce the bug
1. Go to saved queries,
2. Click on datasets and click on edit
3. Go to setting and update the owner
### Environment
(please complete the following information):
- superset version: `superset version` 1.0.1
- python version: `python --version`
- node.js version: `node -v`
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
### Additional context
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] hughhhh closed issue #15530: Not Able to Update DataSet Owner in Superset
Posted by GitBox <gi...@apache.org>.
hughhhh closed issue #15530:
URL: https://github.com/apache/superset/issues/15530
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] hughhhh closed issue #15530: Not Able to Update DataSet Owner in Superset
Posted by GitBox <gi...@apache.org>.
hughhhh closed issue #15530:
URL: https://github.com/apache/superset/issues/15530
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] codegeekjk removed a comment on issue #15530: Not Able to Update DataSet Owner in Superset
Posted by GitBox <gi...@apache.org>.
codegeekjk removed a comment on issue #15530:
URL: https://github.com/apache/superset/issues/15530#issuecomment-873122271
As a work around I am trying to update via API call :
I made an api call:
Login to SuperSet
```
curl --location --request POST 'http://IP:8088/api/v1/security/login'
--header 'Content-Type: application/json'
--header 'Cookie: session=eyJfZnJlc2giOmZhbHNlLCJsb2NhbGUiOiJlbiJ9.YN83EQ.OPkQyIQENbtCgKEF65dn08cl7uc'
--data-raw '{"password":"admin","username":"admin","refresh":"True","provider":"db" }'
```
Then Fetch the dataset using ID
```
curl --location --request GET 'IP:8088/api/v1/dataset/67'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MjUyNDE1NTQsIm5iZiI6MTYyNTI0MTU1NCwianRpIjoiZWQ5NjE4YzUtYjBiNC00ZWYwLWJhZTEtOTUxY2Y3OTJjYmM0IiwiZXhwIjoxNjI1MjQyNDU0LCJpZGVudGl0eSI6MSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.DLg5z58DbOfBY-nkvRY30_92RZIzcpn4JzoQmuyWZX0' \
```
Now I am not sure how to update the dataset owner and what request to send when I am using the PUT I am getting this error:
The CSRF token is missing.
Any Help here how to update via API call ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] codegeekjk commented on issue #15530: Not Able to Update DataSet Owner in Superset
Posted by GitBox <gi...@apache.org>.
codegeekjk commented on issue #15530:
URL: https://github.com/apache/superset/issues/15530#issuecomment-873122271
As a work around I am trying to update via API call :
I made an api call:
Login to SuperSet
```
curl --location --request POST 'http://IP:8088/api/v1/security/login'
--header 'Content-Type: application/json'
--header 'Cookie: session=eyJfZnJlc2giOmZhbHNlLCJsb2NhbGUiOiJlbiJ9.YN83EQ.OPkQyIQENbtCgKEF65dn08cl7uc'
--data-raw '{"password":"admin","username":"admin","refresh":"True","provider":"db" }'
```
Then Fetch the dataset using ID
```
curl --location --request GET 'IP:8088/api/v1/dataset/67'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MjUyNDE1NTQsIm5iZiI6MTYyNTI0MTU1NCwianRpIjoiZWQ5NjE4YzUtYjBiNC00ZWYwLWJhZTEtOTUxY2Y3OTJjYmM0IiwiZXhwIjoxNjI1MjQyNDU0LCJpZGVudGl0eSI6MSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.DLg5z58DbOfBY-nkvRY30_92RZIzcpn4JzoQmuyWZX0' \
```
Now I am not sure how to update the dataset owner and what request to send when I am using the PUT I am getting this error:
The CSRF token is missing.
Any Help here how to update via API call ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org