projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a20022f
)
Fix access when global admin on a forum
author
Alain Peyrat
<aljeux@free.fr>
Sat, 24 Nov 2007 17:44:14 +0000
(17:44 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Sat, 24 Nov 2007 17:44:14 +0000
(17:44 +0000)
gforge/common/forum/Forum.class.php
patch
|
blob
|
history
diff --git
a/gforge/common/forum/Forum.class.php
b/gforge/common/forum/Forum.class.php
index b413fd76965e3f269a590961dc8aa32e40e44dc4..d7cda3f3168b4a050b78dac9ce0b3245e09626df 100644
(file)
--- a/
gforge/common/forum/Forum.class.php
+++ b/
gforge/common/forum/Forum.class.php
@@
-683,7
+683,7
@@
class Forum extends Error {
//
// You must have a role in the project if this forum is not public
//
- if ($this->getCurrentUserPerm() >= 0) {
+ if ($this->
userIsAdmin() || $this->
getCurrentUserPerm() >= 0) {
return true;
} else {
return false;