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
Uwe Steinmann
20e7b873a5
get classname of SeedDMS Document from dms instance
...
don't use hard coded SeedDMS_Core_Document anymore
2015-12-04 08:34:32 +01:00
Uwe Steinmann
4c907dbf9e
Merge branch 'seeddms-5.0.x' into develop
2015-08-07 20:08:29 +02:00
Uwe Steinmann
cbf40c2b6f
mayApprove() returns false if status is S_REJECTED
...
this must be the case because if a document was rejected during review
the approval process may not happen anymore. The disadvantages is, that
a document which was rejected during approval cannot not be released
anymore.
2015-08-07 14:21:32 +02:00
Uwe Steinmann
70e504ecef
Merge branch 'seeddms-5.0.x' into develop
2015-08-07 13:20:10 +02:00
Uwe Steinmann
051e1d966a
use $dms->getClassname() when checking for propper object type
2015-08-07 13:18:40 +02:00
Uwe Steinmann
5844522262
fix wrong variable name
2015-08-07 13:16:30 +02:00
Uwe Steinmann
c4f7223293
Merge branch 'seeddms-5.0.x' into develop
2015-08-07 13:13:14 +02:00
Uwe Steinmann
482143c04f
pass $dms to contructor of SeedDMS_AccessOperation
2015-08-07 13:11:50 +02:00
Uwe Steinmann
ac550a1ec1
ållow to set review/approver in status draft
2015-06-24 17:28:55 +02:00
Uwe Steinmann
d12f9993dd
add mayReceipt()
2015-06-15 14:13:38 +02:00
Uwe Steinmann
ecafa39d1e
mayApprove() checks if document is in review
2015-06-15 09:01:16 +02:00
Uwe Steinmann
d02c06a87f
mayApprove() checks if document is in review
2015-06-15 08:56:18 +02:00
Uwe Steinmann
b69f91cf12
mayApprove() checks if document is in review
2015-06-15 08:53:39 +02:00
Uwe Steinmann
6a7b9c8a65
mayRecipients() and mayRevision() return only true if document ist
...
released
2015-06-09 21:33:08 +02:00
Uwe Steinmann
1123611371
rename mayOverwriteStatus() to mayOverrideStatus()
2015-06-02 10:04:35 +02:00
Uwe Steinmann
596a577529
show link to revise document even if still in workflow
2015-06-01 17:35:25 +02:00
Uwe Steinmann
608a86d45c
rename reviser to revisor, added revision workflow to document page
2015-05-11 09:30:13 +02:00