Commit Graph

86 Commits

Author SHA1 Message Date
Uwe Steinmann
d8c534dff4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-18 20:16:22 +02:00
Uwe Steinmann
0695f35f8d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-18 13:02:30 +02:00
Uwe Steinmann
314a35b2d8 backport check_view_access and check_controller_access for smoother migration 2021-04-18 13:01:11 +02:00
Uwe Steinmann
67d8cf39fb regular users can no longer set owner of document while uploading 2021-03-25 16:37:56 +01:00
Uwe Steinmann
2cc6ca95e9 allow edit attributes in S_DRAFT_APP 2020-12-17 09:41:48 +01:00
Uwe Steinmann
2c008bafee allow editAttributes in S_IN_REVISION and S_DRAFT_APP 2020-12-17 09:37:50 +01:00
Uwe Steinmann
eb0367bd7c document links can be added by regular users again 2020-10-06 06:37:07 +02:00
Uwe Steinmann
8865f61a54 show menu tasks in legacy mode (Closes #485) 2020-08-31 15:35:54 +02:00
Uwe Steinmann
b1c433e594 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-28 08:01:47 +02:00
Uwe Steinmann
1d99c05b20 fix check for edit version 2020-05-28 07:59:57 +02:00
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