Uwe Steinmann
d1f47f9320
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2020-04-22 17:22:24 +02:00
Uwe Steinmann
dcfefa5801
remove cloѕing php tag
2020-04-20 10:18:51 +02:00
Uwe Steinmann
10f6606efa
add RevisionSummary to list of lecacy access rights
2019-11-25 11:50:11 +01:00
Uwe Steinmann
7d9de047bd
add legacy access rights for groups
2019-11-25 09:31:56 +01:00
Uwe Steinmann
83e42948ee
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2019-11-21 10:55:22 +01:00
Uwe Steinmann
33b0691b0b
allow mimetype to specify documents which can be edited online
2019-11-21 10:51:17 +01:00
Uwe Steinmann
85157a8bfe
no access on some more scripts
2019-11-20 18:12:26 +01:00
Uwe Steinmann
43f57637e7
add method check_view_lecacy_access()
...
which does the legacy access checking if advanded acl is turned off
2019-11-20 13:12:11 +01:00
Uwe Steinmann
1c08d83704
need M_ALL to set revisor
2019-11-07 21:59:02 +01:00
Uwe Steinmann
d12b41a958
use new method SeedDMS_Core_Document::isType()
2019-09-06 14:54:11 +02:00
Uwe Steinmann
670597ea5f
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2019-09-06 14:51:21 +02:00
Uwe Steinmann
88168d005e
take over some changes from 5.1.x
2019-09-06 14:32:14 +02:00
Uwe Steinmann
7576bee235
use new method SeedDMS_Core_[Document|Folder]::isType()
2019-08-08 09:05:40 +02:00
Uwe Steinmann
9e1dff071a
admis are allowed to change approver/reviewer after first approval/review
2019-02-01 09:00:16 +01:00
Uwe Steinmann
fc688441ad
recipients can be set, even if document was not released
2019-01-31 15:06:45 +01:00
Uwe Steinmann
20a798d9f1
add some mor documentation
2018-03-31 14:40:05 +02:00
Uwe Steinmann
c2ecc4adbb
check_controller_access() returns true if !guest and adv access controll is off
2018-03-31 14:28:57 +02:00
Uwe Steinmann
981bcaf7d7
override status may be called on 'needs correction' status
2018-02-20 06:15:15 +01:00
Uwe Steinmann
d824ca30fb
may[Receipt|Review|Approve|Revise] also checks for document access
2018-02-05 08:48:53 +01:00
Uwe Steinmann
e7bec65b89
document status may be overriden if document is rejected
2018-02-01 08:28:24 +01:00
Uwe Steinmann
d2a0c08633
allow to set revisors and recipients with M_READWRITE access
...
previously M_ALL was needed
2018-01-28 07:49:46 +01:00
Uwe Steinmann
065fa49cc4
mayReceive() requires a released document
2018-01-16 18:07:20 +01:00
Uwe Steinmann
b51b3bb9f3
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2018-01-09 15:37:40 +01:00
Uwe Steinmann
6e75dd9c44
reviewers/approvers may be set in draft status
2018-01-08 14:38:03 +01:00
Uwe Steinmann
d2ccd5d5ad
better check in mayReview() and mayApprove()
...
mayReview() will only return true anymore, if the status is S_DRAFT_REV.
mayApprove() will only return true anymore, if the status is S_DRAFT_APP.
2018-01-08 10:49:36 +01:00
Uwe Steinmann
ed1f74baca
fix merge error
2017-08-02 12:15:13 +02:00
Uwe Steinmann
9e4b80e25b
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2017-08-02 12:14:14 +02:00
Uwe Steinmann
efbc30c0dd
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
2017-08-02 10:57:10 +02:00
Uwe Steinmann
ea8a695551
maySetReviewersApprovers() checks if review/approval has been done already
2017-08-02 10:53:50 +02:00
Uwe Steinmann
4aef48e5f7
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
2017-08-02 07:02:58 +02:00
Uwe Steinmann
e0dcd86f5a
add optional version number to mayEditOnline()
2017-08-02 06:46:44 +02:00
Uwe Steinmann
56e7f567c7
enable turn off of updating document reception
2017-01-17 14:20:33 +01:00
Uwe Steinmann
f6d3e9785f
Merge branch 'seeddms-5.0.x' into seeddms-5.1.x
2017-01-16 15:52:19 +01:00
Uwe Steinmann
c37910e473
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
2017-01-16 15:12:16 +01:00
Uwe Steinmann
5339c53fa0
add methods mayUpdateReview() and mayUpdateApproval()
2017-01-16 12:59:41 +01:00
Uwe Steinmann
f6db8de5bd
do not use static class name 'SeedDMS_Core_Document'
...
rather use classname as saved in instance of dms
2016-11-02 13:40:54 +01:00
Uwe Steinmann
e1926ed217
add more documentation
2016-04-22 08:21:18 +02:00
Uwe Steinmann
823e7bf76e
better handling of access rights if advanced access rights are turn off
...
check_view_access() returns true for admins and false otherwise
2016-04-21 17:19:58 +02:00
Uwe Steinmann
8a08cc3bff
check_view_access() returns true if advanced access is turned off
2016-04-20 18:09:05 +02:00
Uwe Steinmann
94682fb0ff
copy code from check_view_access() to check_controller_access()
2016-04-13 18:29:58 +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
be8be01ed5
check if getLatestContent() returns a version
2016-04-12 07:54:22 +02:00
Uwe Steinmann
50a39d439a
revisors may not be set unless document is release or in revision
2016-03-23 17:56:34 +01:00
Uwe Steinmann
a693233150
make mayEditVersion() work again
2016-03-23 16:53:01 +01:00
Uwe Steinmann
d317388d18
Merge branch 'seeddms-5.0.x' into develop
2016-03-09 08:10:15 +01:00
Uwe Steinmann
9a319ef539
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
2016-03-09 08:06:37 +01:00
Uwe Steinmann
46843ad0e7
add mayEditVersion()
...
checks if version may be edited online
2016-03-09 07:44:12 +01:00
Uwe Steinmann
04eadaad67
add check_controller_access()
2016-03-04 15:44:11 +01:00
Uwe Steinmann
bd3fbd5cf7
cache aro, first param of check_view_access() can be string, array, object
2016-03-04 09:27:29 +01:00
Uwe Steinmann
51fa5d18e6
enhance AccessOperation by check_view_access()
...
all methods in SeedDMS_AccessOperation take the object to be checked
as the first parameter. Add new method check_view_access() which
checks if a view may be accessed based on the tables tblAros, tblAcos,
tblArosAcos
2016-03-03 07:39:04 +01:00