summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f6f619f)
raw | patch | inline | side by side (parent: f6f619f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Jan 2007 11:15:22 +0000 (11:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Jan 2007 11:15:22 +0000 (11:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5534 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationService.inc | patch | blob | history | |
plugins/admin/systems/class_workstationStartup.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc
index 4db156af858d7e14cdddb9189beb1a08fbbe2d22..a97480dc9f71e0563e85f295fa699dad49cf8a81 100644 (file)
{
plugin::save_object();
- if(isset($_POST['gotoXDriver'])){
+ if(isset($_POST['gotoXDriver']) && chkacl($this->acl,"AutoSync") == ""){
if(isset($_POST['AutoSync'])){
$this->AutoSync = true;
}else{
diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index fd9bcf952b3fb8710347b89d5a4e24d0773daa0b..5d020a17d81bf907cebd9474239f7bce6aab7c57 100644 (file)
}
/* Add module */
- if (isset ($_POST['add_module'])){
+ if (isset ($_POST['add_module']) ){
if ($_POST['module'] != "" && chkacl ($this->acl, "gotoModule") == ""){
$this->add_list ($this->gotoModules, $_POST['module']);
}
}
/* FAI class management */
- if($this->fai_activated){
+ if($this->fai_activated && chkacl($this->acl,"FAIclass") == ""){
if((isset($_POST['AddClass']))&&(isset($_POST['FAIclassesSel']))){
$found = 0 ;
/* if $_POST['gotoShareAdd'] is set, we will try to add a new entry
* This entry will be, a combination of mountPoint and sharedefinitions
*/
- if(isset($_POST['gotoShareAdd'])){
+ if(isset($_POST['gotoShareAdd']) && chkacl($this->acl,"gotoShare") ==""){
/* We assign a share to this user, if we don't know where to mount the share */
if((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))||(preg_match("/[\|]/i",$_POST['gotoShareMountPoint']))){
print_red(_("You must specify a valid mount point."));
/* if the Post gotoShareDel is set, someone asked GOsa to delete the selected entry (if there is one selected)
* If there is no defined share selected, we will abort the deletion without any message
*/
- if((isset($_POST['gotoShareDel']))&&(isset($_POST['gotoShare']))){
+ if((isset($_POST['gotoShareDel']))&&(isset($_POST['gotoShare'])) && chkacl($this->acl,"gotoShare") ==""){
unset($this->gotoShares[$_POST['gotoShare']]);
}