Comments (4)
@tangyang9464 @JalinWang @imp2002
from casdoor.
@MyColorfulDays add roles in the "Roles" tab here: https://door.casdoor.com/roles
from casdoor.
Hi @hsluoyz, thank you for your reply.
Accoding to swagger user api, when call add-user/update-user
api can send the roles
parameter to set user roles, but the users roles is not set success.
Can you support set user roles when call the add-user/update-user api.
from casdoor.
@MyColorfulDays as I said, you should call the Role API: https://door.casdoor.com/swagger/#/Role%20API
the roles field in user is virtual and is retrieved from the Role API too, it's read-only. If you want to modify it, call Role API
from casdoor.
Related Issues (20)
- is "api/api/swagger.json " a valid rest call? HOT 2
- Obtain the access_token based on the code HOT 1
- How to enable TOTP for a user? HOT 4
- [feature] support subpath deployment for Casdoor HOT 1
- [feature] get phone number and country from Google OAuth provider HOT 1
- PostgreSQL database name error HOT 4
- Email Regex Validation Issue in Signup Process HOT 1
- [feature] Add refund option for products HOT 4
- [Bug] QQ login on Android failed due to the missing 'state' parameter HOT 3
- Add Host Configuration Option for Enhanced Security with Nginx Reverse Proxy HOT 2
- Suggest integrating a new SMS provider HOT 3
- [question] Token Endpoint responses with 'success' even when `client-secret` is wrong HOT 2
- [feature] let user change his password on first login HOT 1
- Passing docker password stored in a secret as File HOT 2
- Casdoor forward auth on Caddy HOT 1
- improved docker-entrypoint.sh HOT 1
- Enforce acceptance of Terms and Conditions for social logins HOT 4
- Test STMP connection failed. HOT 1
- [Feature] (SAML) Add optional assertion & message signing HOT 1
- Radius Challenge/Response for MFA (RFC2865) feature request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casdoor.