com.atlassian.jira.dashboard.permission
Class JiraPluginGadgetSpecProviderPermission

java.lang.Object
  extended by com.atlassian.jira.dashboard.permission.JiraPluginGadgetSpecProviderPermission
All Implemented Interfaces:
com.atlassian.gadgets.spi.PluginGadgetSpecProviderPermission

public class JiraPluginGadgetSpecProviderPermission
extends java.lang.Object
implements com.atlassian.gadgets.spi.PluginGadgetSpecProviderPermission

Class ensures users can see only the gadgets they have permission to. This ensures that gadgets a user can't see will be removed from the gadget directory and not rendered on a dashboard.

Since:
v4.0

Constructor Summary
JiraPluginGadgetSpecProviderPermission(GadgetPermissionManager gadgetPermissionManager, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 com.atlassian.gadgets.spi.Vote voteOn(com.atlassian.gadgets.plugins.PluginGadgetSpec pluginGadgetSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraPluginGadgetSpecProviderPermission

public JiraPluginGadgetSpecProviderPermission(GadgetPermissionManager gadgetPermissionManager,
                                              JiraAuthenticationContext authenticationContext)
Method Detail

voteOn

public com.atlassian.gadgets.spi.Vote voteOn(com.atlassian.gadgets.plugins.PluginGadgetSpec pluginGadgetSpec)
Specified by:
voteOn in interface com.atlassian.gadgets.spi.PluginGadgetSpecProviderPermission


Copyright © 2002-2010 Atlassian. All Rights Reserved.