Skip to content

Commit

Permalink
cams: дребни проблеми
Browse files Browse the repository at this point in the history
  • Loading branch information
dminko committed Mar 31, 2015
1 parent c10fb7c commit 1423ddc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cams/Positions.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class cams_Positions extends core_Manager
function description()
{
$this->FLD('title', 'varchar(255)', 'caption=Заглавие, mandatory');
$this->FLD('cameraId', 'key(mvc=cams_Cameras,select=name)', 'caption=Камера, mandatory');
$this->FLD('cameraId', 'key(mvc=cams_Cameras,select=title)', 'caption=Камера, mandatory');
$this->FLD('pan', 'double', 'caption=Pan');
$this->FLD('tilt', 'double', 'caption=Tilt');
$this->FLD('zoom', 'double', 'caption=Zoom');
Expand Down
5 changes: 5 additions & 0 deletions cams/Records.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ class cams_Records extends core_Master
*/
var $canRead = 'ceo,cams, admin';

/**
* Права за добавяне
*/
var $canAdd = 'no_one';


/**
* Права за маркиране
Expand Down

0 comments on commit 1423ddc

Please sign in to comment.