projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e966965
)
MTrackWeb/TicketEdit.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 08:29:18 +0000
(16:29 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 08:29:18 +0000
(16:29 +0800)
MTrackWeb/TicketEdit.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/TicketEdit.php
b/MTrackWeb/TicketEdit.php
index
aa93fa5
..
a87b067
100644
(file)
--- a/
MTrackWeb/TicketEdit.php
+++ b/
MTrackWeb/TicketEdit.php
@@
-73,9
+73,7
@@
class MTrackWeb_TicketEdit extends MTrackWeb
if ($this->id && (
- !$this->hasPerm('MTrack.Issue','S') || // general permission to view
- !$this->issue->hasPerm($this->authUser,'S') // specific permission on this bug.
-
+ !$this->hasPerm('MTrack.Issue','E')
)) {
return HTML_FlexyFramework::run('Noperm');
}
@@
-85,6
+83,7
@@
class MTrackWeb_TicketEdit extends MTrackWeb
+
// new is always editable..????
$this->editable = $this->id ?
$this->ticket->hasPerm($this->authUser,'E') : true;