Commit Graph

12 Commits

Author SHA1 Message Date
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
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
482143c04f pass $dms to contructor of SeedDMS_AccessOperation 2015-08-07 13:11:50 +02:00
Uwe Steinmann
d02c06a87f mayApprove() checks if document is in review 2015-06-15 08:56:18 +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