Newer Version Available

This content describes an older version of this product. View Latest

Controlling Access

The framework enables you to control access to your applications, interfaces, components, attributes, and events via the access attribute on these tags. This attribute indicates whether the resource can be used outside of its own namespace.
Tag Description
aura:application Represents an application
aura:interface Represents an interface
aura:component Represents a component
aura:attribute Represents an attribute in an application, interface, component, or event
aura:event Represents an event

By default, the access attribute is set to public for all tags, which allows them to be extended or used within the same namespace.

Setting access="global" makes a bundle available to package subscribers and other namespaces. For more information on packaging, see Distributing Applications and Components