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
Uwe Steinmann
df75ae5c8c
add method maySetReviser
2015-04-22 11:41:39 +02:00
Uwe Steinmann
ff9b3486c5
add maySetRecipients()
2015-04-20 13:44:13 +02:00
Uwe Steinmann
c67f279572
allow modification of Rev/App in S_DRAFT_APP if
...
traditional_only_approval is set
2015-03-18 11:34:36 +01:00
Uwe Steinmann
e669b0acd5
mayEditComment() checks if document is locked
2014-06-03 17:50:58 +02:00
Uwe Steinmann
9400a962a8
maySetExpires() doesn't check if version modification is enabled
...
this makes no sense because a expiration date can only be set for
a document and not for the version
2013-04-30 17:23:24 +02:00
Uwe Steinmann
73c6ff9427
major name change from letodms to seeddms
2013-02-14 12:10:53 +01:00
steinm
c603feada9
fixed comment
2013-01-24 08:33:03 +00:00
steinm
7d59ae97a8
- added methods mayReview() and mayApprove()
2012-10-23 09:17:07 +00:00
steinm
68e096e1f6
- new class with all checks wether an operation is allowed or not
2012-10-09 09:46:24 +00:00