All Questions
Tagged with user-management python
17 questions
2
votes
0
answers
25
views
Why am I getting a "TXN_ERROR_NOT_EXIST ERROR" in GridDB when performing a user or database administration operation?
I'm working with GridDB for managing a distributed database system and recently encountered the following error while trying to perform a user or database administration operation:
10086 ...
0
votes
1
answer
50
views
OAuth2 implementation and user management Django
Overview
I've implemented successfully oauth2 in my Django project. After the user authorizes my app I receive an access token and, with it, I can access all of his information (username and email).
...
2
votes
0
answers
591
views
Limiting EFS access on AWS Lambda for a user
Background
I have an AWS Lambda (of Image type) configured through a Dockerfile. The Lambda function should execute an arbitrary python code (the code is sent from a user, and therefore can be ...
0
votes
1
answer
326
views
Python-Django Trying to Add Users to my Database
I'm new to Django and I'm trying to create a page that allows users to register to my website. But I keep getting a page not found error.
Using the URLconf defined in myapp.urls, Django tried these ...
1
vote
0
answers
317
views
SQLAlchemy UNIQUE constraint failed on Many to Many Relationship
When I create a user with User class, for example
User(username='xxx',password='xxxx', role =[Role(name='Admin'),])
Database will also add to Role table a row with name Admin.
The issue is when I ...
4
votes
1
answer
3k
views
How to prevent users installing packages via pip
I wish to PREVENT users from running pip to install packages into their home directory.
I have a fairly large number students who have network mounted home directories and file and space quotas on ...
1
vote
0
answers
662
views
Flask-restful API user accounts. Get full data and access to modify it if owner of account, get partial data otherwise
this is my first attempt to create a RESTful app using Flask framework. This is an API for cooking recipes. I already have basic functionality but I have encountered a problem with user accounts and ...
0
votes
0
answers
343
views
Multiple `login` endpoints for `Flask-User`?
I'm working on a Flask app that needs user management. However, I have multiple parts of my site, let's call them /site/<name>/ with each of them having their own users (linked in the DB to name)...
12
votes
3
answers
10k
views
What is a good alternative to Firebase for user management, more specifically for Python?
What is an alternative to firebase for user management/auth for python apps. I know I can use node.js w/ firebase but, I would rather authenticate users through a managed 3rd party API in python using ...
0
votes
0
answers
141
views
Change Password for user in Django when not using the Django User model
I'm halfway through a Django project and we did not start with the default Django User model that is provided. Now it is too late into the project to go back and implement the User model.
The user I ...
51
votes
2
answers
66k
views
Ansible: best practice for maintaining list of sudoers
In the documentation, there is an example of using the lineinfile module to edit /etc/sudoers.
- lineinfile: "dest=/etc/sudoers state=present regexp='^%wheel' line='%wheel ALL=(ALL) NOPASSWD: ALL'"...
0
votes
1
answer
94
views
Detecting multiple sessions from same user on Google App Engine
I am writing an application which uses the Google user API and anyone having a google account can login. I would want to prevent from multiple users using the same google account to login ...
0
votes
1
answer
509
views
user management framework for app engine python?
Here are a few user management frameworks I've read about:
GAE Sessions
Flask Login
gae-init (uses Flask)
Beaker
GAE Utilities
gmemsess
suas
Is there a library that is widely adopted in the python ...
4
votes
1
answer
397
views
Python Unix/Windows Abstraction Layer for Signal Handling & User Management
I'd like to ask a question for which my extensive web search would suggest the answer is 'no' but maybe I've overlooked something ...
Are there Python abstraction layers sitting on top of Unix and ...
6
votes
5
answers
16k
views
How can I set a users password in linux from a python script?
I'm trying to automate the setup of SFTP access. This script is running as a user with sudo permissions and no password.
I can create a user like so:
>>> import subprocess
>>> ...
2
votes
2
answers
447
views
How to handle user mangement in Django for groups that has same access but different rules?
Background information:
I have created an internal site for a company. Most of the work has gone into making calculation tools that their sale persons can use to make offers for clients. Create pdf ...
3
votes
3
answers
2k
views
User management API
I am developing an application suite where users will need to connect to a server and depending on their account type they will be given some services. The server will run Linux. Can you please ...