Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
1a05dab5
Commit
1a05dab5
authored
Aug 06, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Plain Diff
[Update] 修改user api权限
parents
b8ecb6f8
c01936fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
api.py
apps/users/api.py
+1
-0
No files found.
apps/users/api.py
View file @
1a05dab5
...
...
@@ -19,6 +19,7 @@ from .tasks import write_login_log_async
from
.models
import
User
,
UserGroup
,
LoginLog
from
.utils
import
check_user_valid
,
generate_token
,
get_login_ip
,
\
check_otp_code
,
set_user_login_failed_count_to_cache
,
is_block_login
from
.hands
import
Asset
,
SystemUser
from
orgs.utils
import
current_org
from
common.permissions
import
IsOrgAdmin
,
IsCurrentUserOrReadOnly
,
IsOrgAdminOrAppUser
from
.hands
import
Asset
,
SystemUser
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment