public class ConfigAclHandler extends BaseHandler
| Constructor and Description |
|---|
ConfigAclHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
aclConfigChannelEditable(java.lang.Object ctx,
java.lang.String[] params)
Tell whether the logged in user can edit the give channel.
|
boolean |
aclConfigChannelHasFiles(java.lang.Object ctx,
java.lang.String[] params)
Tell whether the config channel represented by a
ccid in
the current context has files. |
boolean |
aclConfigChannelHasSystems(java.lang.Object ctx,
java.lang.String[] params)
Tell us whether the selected channel has any subscribed systems or not
|
boolean |
aclConfigChannelType(java.lang.Object ctx,
java.lang.String[] params)
Whether the config channel of the current context is of the given type.
|
boolean |
aclConfigEnabled(java.lang.Object ctx,
java.lang.String[] params)
Check if a System is config enabled
|
boolean |
aclIsFile(java.lang.Object ctx,
java.lang.String[] params)
Tell whether a file is a directory.
|
aclIsSatellite, getAsLongpublic boolean aclIsFile(java.lang.Object ctx,
java.lang.String[] params)
ctx - Our current context, containing a crid or cfid.params - The parameters containing a config revision id or nothing.public boolean aclConfigChannelEditable(java.lang.Object ctx,
java.lang.String[] params)
ctx - Our current context, containing the userparams - The parameters containing a config channel id.public boolean aclConfigChannelType(java.lang.Object ctx,
java.lang.String[] params)
ConfigChannelType
statics found in com.redhat.rhn.domain.config.ConfigurationFactory.ctx - The current context.params - The params, must include desired channel type label.public boolean aclConfigChannelHasFiles(java.lang.Object ctx,
java.lang.String[] params)
ccid in
the current context has files.ctx - The current contextparams - The parameters unused.public boolean aclConfigChannelHasSystems(java.lang.Object ctx,
java.lang.String[] params)
ctx - Current contextparams - parameters (unused)public boolean aclConfigEnabled(java.lang.Object ctx,
java.lang.String[] params)
ctx - Context Map to pass inparams - Parameters to use to fetch from Context