Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simple_oauth-3494954
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
simple_oauth-3494954
Commits
ec174da8
Commit
ec174da8
authored
9 months ago
by
Tobias Zimmermann
Committed by
Bojan Bogdanovic
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3426075
: Hide the granularity form element for umbrella scopes
parent
21584649
No related branches found
Branches containing commit
Tags
8.x-2.3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Entity/Form/Oauth2ScopeForm.php
+5
-0
5 additions, 0 deletions
src/Entity/Form/Oauth2ScopeForm.php
with
5 additions
and
0 deletions
src/Entity/Form/Oauth2ScopeForm.php
+
5
−
0
View file @
ec174da8
...
...
@@ -124,6 +124,11 @@ class Oauth2ScopeForm extends EntityForm {
],
'#default_value'
=>
$scope
->
getGranularity
(),
'#description'
=>
$this
->
t
(
'Map scope to a single permission or role.'
),
'#states'
=>
[
'visible'
=>
[
'#edit-umbrella'
=>
[
'checked'
=>
FALSE
],
],
],
];
$form
[
'permission'
]
=
[
'#type'
=>
'select'
,
...
...
This diff is collapsed.
Click to expand it.
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