Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Stud.IP
Stud.IP
Merge requests
!2019
prevent temporary permissions to be deleted when managing them for one user, re
#2158
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
prevent temporary permissions to be deleted when managing them for one user, re
#2158
biest-02158
into
main
Overview
0
Commits
1
Pipelines
3
Changes
1
Merged
Moritz Strohm
requested to merge
biest-02158
into
main
1 year ago
Overview
0
Commits
1
Pipelines
3
Changes
3
Expand
See
#2158 (closed)
0
0
Merge request reports
Compare
version 2
version 2
e4c53782
1 year ago
version 1
9319de1a
1 year ago
main (base)
and
latest version
latest version
9f3d57de
1 commit,
1 year ago
version 2
e4c53782
1 commit,
1 year ago
version 1
9319de1a
1 commit,
1 year ago
Show latest version
3 files
+
13
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
lib/models/resources/ResourcePropertyDefinition.class.php
+
11
−
2
Options
@@ -244,14 +244,23 @@ class ResourcePropertyDefinition extends SimpleORMap
$search
=
new
QuickSearch
(
$input_name
,
new
StandardSearch
(
'user_id'
));
$search
->
defaultValue
(
$value
,
(
$value
?
get_fullname
(
$value
,
'full_rev_username'
)
:
''
));
return
sprintf
(
'<label %1$s>%2$s
%3$s
</label>'
,
'<label %1$s>%2$s
<div class="assigned-user-search-wrapper flex-row">%3$s%4$s</div>
</label>'
,
(
$label_html_classes
?
'class="'
.
htmlReady
(
$label_html_classes
)
.
'"'
:
''
),
$this
->
__toString
(),
$search
->
render
()
$search
->
render
(),
Icon
::
create
(
'refresh'
)
->
asImg
(
[
'class'
=>
'delete-assigned-user-icon enter-accessible'
,
'data-input-name'
=>
$input_name
,
'title'
=>
_
(
'Zuorndung entfernen'
),
'tabindex'
=>
'0'
,
'aria-role'
=>
'button'
]
)
);
}
else
{
$input_type
=
'text'
;
Loading