diff options
| author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-19 00:49:47 +0200 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-23 09:11:55 -0700 |
| commit | 350c1b02670d971d3a389f786f46fb9be2dec8ed (patch) | |
| tree | 64b7bac43d4e725eaf218186400b321bf5b5adf0 /modules/gallery/views/permissions_form.html.php | |
| parent | 5999ccb512d65ad9ae06a0a5542eb1123b44e9db (diff) | |
Use BOOLEAN instead of integer to describe the permissions :
- DENY = false
- ALLOW = true
- UNKNOW = null (for intent only)
- INHERIT = null (for cache)
Upgrade is not included for now.
(cherry picked from commit 719c59e0402464a0e2b14915f6d10218ff5d4729)
Diffstat (limited to 'modules/gallery/views/permissions_form.html.php')
| -rw-r--r-- | modules/gallery/views/permissions_form.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/permissions_form.html.php b/modules/gallery/views/permissions_form.html.php index 0f60070a..ee5e3a24 100644 --- a/modules/gallery/views/permissions_form.html.php +++ b/modules/gallery/views/permissions_form.html.php @@ -26,7 +26,7 @@ </a> </td> <? else: ?> - <? if ($intent === null): ?> + <? if ($intent === access::INHERIT): ?> <? if ($allowed): ?> <td class="gAllowed"> <a href="javascript:set('allow',<?= $group->id ?>,<?= $permission->id ?>,<?= $item->id ?>)" |
