[vhffs-dev] [1205] OK let' s have a greater step between tags visibility so we can easily modify it. |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1205
Author: beuss
Date: 2008-05-24 14:02:17 +0200 (Sat, 24 May 2008)
Log Message:
-----------
OK let's have a greater step between tags visibility so we can easily modify it.
UPDATE vhffs_tag_category SET visibility = (visibility * 10) + 10;
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Constants.pm
Modified: trunk/vhffs-api/src/Vhffs/Constants.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Constants.pm 2008-05-23 20:35:29 UTC (rev 1204)
+++ trunk/vhffs-api/src/Vhffs/Constants.pm 2008-05-24 12:02:17 UTC (rev 1205)
@@ -78,9 +78,9 @@
TYPE_CRON => 70,
# Tags visibility MUST BE ORDERED BY PRIVILEGE LEVEL!
- TAG_VISIBILITY_PUBLIC => 1,
- TAG_VISIBILITY_MODERATORS => 2,
- TAG_VISIBILITY_ADMINS => 3,
+ TAG_VISIBILITY_PUBLIC => 20,
+ TAG_VISIBILITY_MODERATORS => 30,
+ TAG_VISIBILITY_ADMINS => 40,
};
1;