Skip to content
Permalink
Browse files
AIRAVATA-2405 Warn that only most recent users are searched by role
  • Loading branch information
machristie committed Jul 9, 2017
1 parent bbc3060 commit 2af52834fd4ba11327625a273b180cbe52ef40a8
Showing 2 changed files with 10 additions and 0 deletions.
@@ -73,6 +73,7 @@ public function addAdminSubmit(){
public function usersView(){
if( Input::has("role"))
{
Session::flash("warning-message", "Please note: the following list may not be complete. Only the most recent 100 users who have role " . htmlspecialchars(Input::get("role")) . " are listed.");
$users = IamAdminServicesUtilities::getUsersWithRole(Input::get("role"));
}
else
@@ -22,6 +22,15 @@
</div>
{{ Session::forget("message") }}
@endif
@if( Session::has("warning-message"))
<div class="row">
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span
aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
{{ Session::get("warning-message") }}
</div>
</div>
@endif
</div>
<div class="container-fluid">
<div class="col-md-12">

0 comments on commit 2af5283

Please sign in to comment.