Scopes ====== BYCEPS distinguishes four scopes: * :ref:`global ` * :ref:`brand ` * :ref:`party ` * :ref:`site ` .. figure:: scopes.png Nesting of scopes Each entity belongs to exactly one of these scopes. .. _scope-global: Global ------ The global scope is the outermost one. Entities that belong to the global scope include: - users - roles and permissions - user badges - :ref:`brands ` - global snippets .. _scope-brand: Brand ----- A brand is the identity of a series of parties. Each brand is part of the :ref:`global ` scope. Entities that belong to the brand scope include: - email settings - orga flags - :ref:`parties ` - :ref:`sites ` - news channels - boards - brand-specific snippets - terms of service versions .. _scope-party: Party ----- The party scope is for entities that belong to a single party (and are not better situated in the :ref:`site scope `). Each party belongs to a :ref:`brand `. Entities that belong to the party scope include: - orga teams - shops - tickets - seating areas .. _scope-site: Site ---- The site scope is for entities and settings that belong to a specific website. Each site belongs to a :ref:`brand `. Entities that belong to the site scope include: - server name - pages - navigation - site-specific snippets - choice of - news channels - forum - storefront - party - status of - user registration - user login