diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-14 14:12:21 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-14 14:12:21 +0800 |
commit | 5acc948562547b393ba1e89b012e7421143c6dd8 (patch) | |
tree | 657653112b206fb01ff184bd30cb680b5b5a21fa /modules/middleware/context.go | |
parent | 2935ee440c82a7f998a74159255cc38924f6e0bc (diff) | |
download | gitea-5acc948562547b393ba1e89b012e7421143c6dd8.tar.gz gitea-5acc948562547b393ba1e89b012e7421143c6dd8.zip |
Page: `/org/:orgname/settings`
Diffstat (limited to 'modules/middleware/context.go')
-rw-r--r-- | modules/middleware/context.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go index 1e6f8e9525..aa1266d649 100644 --- a/modules/middleware/context.go +++ b/modules/middleware/context.go @@ -64,6 +64,12 @@ type Context struct { CommitsCount int Mirror *models.Mirror } + + Org struct { + IsOwner bool + IsMember bool + Organization *models.User + } } // Query querys form parameter. |