mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
User Management: removed limitation on the user rights that could not be established without a given object set, and added a feedback in the user details page (grant summary, based on the results returned by the std user management API, thus is reliable)
SVN:code[169]
This commit is contained in:
@@ -31,7 +31,7 @@ function Page1_AskClass($oPage)
|
||||
$oPage->add("<form method=\"post\" action=\"\">\n");
|
||||
//$oPage->add("<input type=\"hidden\" name=\"tnut\" value=\"blah\">");
|
||||
$oPage->p("Please select the type of object that you want to look for:");
|
||||
$oPage->MakeClassesSelect("class", "", 50);
|
||||
$oPage->MakeClassesSelect("class", "", 50, UR_ACTION_READ);
|
||||
$oPage->add("<input type=\"submit\" name=\"userconfig\" value=\"Configure filters\">\n");
|
||||
$oPage->add("</form>\n");
|
||||
}
|
||||
|
||||
@@ -339,7 +339,7 @@ function Do_Welcome($oPage, $sClass)
|
||||
$sCSVData = utils::ReadPostedParam('csvdata');
|
||||
|
||||
$oPage->add("<form method=\"post\" action=\"\">");
|
||||
$oPage->MakeClassesSelect("class", $sClass, 50);
|
||||
$oPage->MakeClassesSelect("class", $sClass, 50, UR_ACTION_MODIFY);
|
||||
$oPage->add("<br/>");
|
||||
$oPage->add("<textarea rows=\"25\" cols=\"100\" name=\"csvdata\" wrap=\"soft\">$sCSVData</textarea>");
|
||||
$oPage->add("<br/>");
|
||||
|
||||
Reference in New Issue
Block a user