Commit Graph

4115 Commits

Author SHA1 Message Date
Uwe Steinmann
94682fb0ff copy code from check_view_access() to check_controller_access() 2016-04-13 18:29:58 +02:00
Uwe Steinmann
b80cb91d54 check if parameter of setNoAccess() is set before using it 2016-04-13 18:29:21 +02:00
Uwe Steinmann
76beca23c6 Merge branch 'seeddms-5.0.x' into develop 2016-04-13 10:55:38 +02:00
Uwe Steinmann
03a476709a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-13 10:55:27 +02:00
Uwe Steinmann
c21777d239 new phrases 2016-04-13 10:55:12 +02:00
Uwe Steinmann
e96e94d471 use translated strings 2016-04-13 10:54:12 +02:00
Uwe Steinmann
64470891ba set accessobject for view 2016-04-13 10:53:57 +02:00
Uwe Steinmann
a3e0f6eb7d fix inclusion of files 2016-04-13 08:56:51 +02:00
Uwe Steinmann
0dba3d5300 Merge branch 'seeddms-5.0.x' into develop 2016-04-13 08:53:12 +02:00
Uwe Steinmann
d2ca2a8329 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-13 08:53:03 +02:00
Uwe Steinmann
5efb44e3d5 new phrases 2016-04-13 08:52:50 +02:00
Uwe Steinmann
46b36ba7e5 check for access on RemoveUser 2016-04-13 08:51:57 +02:00
Uwe Steinmann
46602c744b check for access on RemoveGroup 2016-04-13 08:51:34 +02:00
Uwe Steinmann
e527a6d176 fix access check and add new debug menu item 2016-04-13 08:51:03 +02:00
Uwe Steinmann
23e3011d82 use access check 2016-04-13 08:50:27 +02:00
Uwe Steinmann
4c15aa7c49 check_access() doesn't check for admin anymore
check_view_access() does it now
2016-04-13 08:49:32 +02:00
Uwe Steinmann
e22ca653ed check_view_access() returns true/false and also takes admin role into account 2016-04-13 08:48:23 +02:00
Uwe Steinmann
d2b2bd0226 check() returns true/false again 2016-04-13 08:47:33 +02:00
Uwe Steinmann
daa4066c04 show access restrictions for all role types except admin 2016-04-12 17:22:04 +02:00
Uwe Steinmann
2d79a0f143 make php7 compatible 2016-04-12 17:05:05 +02:00
Uwe Steinmann
a3644e86e7 fix syntax error 2016-04-12 17:04:13 +02:00
Uwe Steinmann
f7118a6ac3 fix notes of 1.1.8 2016-04-12 15:30:19 +02:00
Uwe Steinmann
ece56944d8 add new field noAccess in tblRoles 2016-04-12 12:23:57 +02:00
Uwe Steinmann
5bdc6fe3cc filter result by new access restrictions derived from status 2016-04-12 12:23:26 +02:00
Uwe Steinmann
795eb1e028 manage access restrictions 2016-04-12 12:23:04 +02:00
Uwe Steinmann
6278dd8df3 set access restrictions by role 2016-04-12 12:22:36 +02:00
Uwe Steinmann
0511d06d63 add field for access restrictions by document status 2016-04-12 12:21:55 +02:00
Uwe Steinmann
7a84ffee5e fix typo in description of extension 2016-04-12 09:17:35 +02:00
Uwe Steinmann
41fa410010 Merge branch 'seeddms-5.0.x' into develop 2016-04-12 08:52:17 +02:00
Uwe Steinmann
561588b751 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-12 08:51:48 +02:00
Uwe Steinmann
ec36458709 add 'role_type' 2016-04-12 08:51:29 +02:00
Uwe Steinmann
50cf128471 replace phrase 'type' with 'role_type' 2016-04-12 08:48:12 +02:00
Uwe Steinmann
4ea8b141da Merge branch 'seeddms-5.0.x' into develop 2016-04-12 08:30:45 +02:00
Uwe Steinmann
992dc4faa0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-12 08:30:35 +02:00
Uwe Steinmann
87a221da9b nicer layout 2016-04-12 08:30:13 +02:00
Uwe Steinmann
3654906e9a set $dms->noReadForStatus (still commented out) 2016-04-12 07:56:53 +02:00
Uwe Steinmann
fb73b9c922 get $user from view in mainMenu() 2016-04-12 07:55:15 +02:00
Uwe Steinmann
be8be01ed5 check if getLatestContent() returns a version 2016-04-12 07:54:22 +02:00
Uwe Steinmann
130c894a35 check if version is accessible
all functions which return a document version (e.g. getLatestVersion())
will check if access has been restricted by setting
SeedDMS_Core_DMS::noReadForStatus
2016-04-12 07:46:37 +02:00
Uwe Steinmann
9786a51822 add variable noReadForStatus, method getLoggedInUser
setting noReadForStatus will allow to check if a version may
be accessible in its status
2016-04-12 07:44:48 +02:00
Uwe Steinmann
5224cbb9c6 Merge branch 'seeddms-5.0.x' into develop 2016-04-08 15:59:10 +02:00
Uwe Steinmann
0b51aad25a add changes for 5.0.3 2016-04-08 15:57:13 +02:00
Uwe Steinmann
94c3b635a6 use classname from $dms->_classnames for SeedDMS_Core_DocumentContent 2016-04-08 15:55:52 +02:00
Uwe Steinmann
0a87820f9a SeedDMS_Core_DocumentContent::getAccessMode() takes status into account 2016-04-08 15:10:43 +02:00
Uwe Steinmann
2caa65add6 replace phrase 'role' by 'type' 2016-04-08 12:54:25 +02:00
Uwe Steinmann
cac1387d24 Merge branch 'seeddms-5.0.x' into develop 2016-04-07 19:36:23 +02:00
Uwe Steinmann
eee1e536b2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-07 19:36:09 +02:00
Uwe Steinmann
94bf945133 add phrase for edit_version 2016-04-07 19:35:50 +02:00
Uwe Steinmann
e3bc75da15 check for $_POST["grpIndApprovers"] and $_POST["grpIndReviewers"] 2016-04-07 19:34:42 +02:00
Uwe Steinmann
ba23fa9073 fix take over reviewers/approvers from last version, add field for members of a group 2016-04-07 19:33:49 +02:00