Changeset 6343
- Timestamp:
- Nov 12, 2013, 12:47:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2-stable/src/core/net/sf/basedb/util/ContextUtil.java
r5595 r6343 30 30 import net.sf.basedb.core.DbControl; 31 31 import net.sf.basedb.core.ItemQuery; 32 import net.sf.basedb.core.Permission; 32 33 import net.sf.basedb.core.PluginConfiguration; 33 34 import net.sf.basedb.core.PluginDefinition; … … 69 70 for (PluginDefinition plugin : plugins) 70 71 { 72 // Skip plug-in if user doesn't have USE Permission for it 73 if (!plugin.hasPermission(Permission.USE)) 74 { 75 continue; 76 } 71 77 if (!plugin.requiresConfiguration()) 72 78 { … … 79 85 for (PluginConfiguration config : configs) 80 86 { 87 // Skip config if user doesn't have USE Permission for it 88 if (!config.hasPermission(Permission.USE)) 89 { 90 continue; 91 } 81 92 results.add(new ContextResult(sc, plugin, config, context, currentItem)); 82 93 }
Note: See TracChangeset
for help on using the changeset viewer.