Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iric-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioinfo_iric
iric-data
Commits
56557c11
Commit
56557c11
authored
2 years ago
by
LouisGendron
Browse files
Options
Downloads
Patches
Plain Diff
Add access to api_token to staff user via graphQL
parent
645aefa0
Branches
178-dataset-and-datafile-graphql-queries-should-incidate-if-the-user-is-the-owner-of-the-object
Branches containing commit
No related tags found
1 merge request
!100
Resolve "Allow staff to access user api token with graphql"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
portal/graphql_schema.py
+25
-7
25 additions, 7 deletions
portal/graphql_schema.py
portal/migrations/0031_profiletoken.py
+24
-0
24 additions, 0 deletions
portal/migrations/0031_profiletoken.py
portal/models.py
+5
-0
5 additions, 0 deletions
portal/models.py
with
54 additions
and
7 deletions
Loading
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment