Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
57c2bd8d
Commit
57c2bd8d
authored
Sep 16, 2019
by
Piotr Gawron
Browse files
reducing privileges triggers page refresh
parent
5d0a570c
Pipeline
#13863
passed with stage
in 14 minutes and 37 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
57c2bd8d
minerva
(
14.0.0
~
beta
.2
)
unstable
;
urgency
=
low
*
Bug
fix
:
allow
user
to
remove
own
comments
(#
931
)
*
Bug
fix
:
validation
of
project
name
length
is
provided
(#
950
)
*
Bug
fix
:
after
reducing
privileges
on
himself
interface
is
refreshed
(#
948
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Mon
,
16
Sep
2019
21
:
00
:
00
+
0200
...
...
frontend-js/src/main/js/gui/admin/EditUserDialog.js
View file @
57c2bd8d
...
...
@@ -225,7 +225,13 @@ EditUserDialog.prototype.createGeneralTabContent = function () {
}
else
{
GuiConnector
.
alert
(
"
Invalid role:
"
+
role
);
}
return
Promise
.
all
(
promises
);
return
Promise
.
all
(
promises
).
then
(
function
()
{
return
self
.
getServerConnector
().
getLoggedUser
();
}).
then
(
function
(
loggedUser
)
{
if
(
loggedUser
.
getLogin
()
===
self
.
getUser
().
getLogin
())
{
window
.
location
.
reload
(
false
);
}
});
}
);
return
result
;
...
...
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