rules

A rule is a special configuration that applies to a Set of cards.  Some rules are represented in cards, while other are in code.

 

The basic formula for a rule card is Set + Setting = Rule.

 

Examples

The default permission for who can read cards is set with this permission rule:

  • View
  • Changes
  • Options
  • Related
  • Edit
  • This follows the Set+Setting=Rule pattern as follows:

     

    1. *all is the Set of all cards
    2. *read is the Setting that determines who can read cards in the set
    3. *all+*read is the Rule that determines who can read any card on a Wagn.
    Because it applies to the *all set, this is a very broad rule. In general, broader rules that can be overridden by narrower rules. For example, new Wagns come with *all+*read set to "Anyone", which means anyone can see any card on the wagn by default.  But they also come with another rule:
    This rule applies to only one card, because there is only one card in the Administrator Links+*self set (the Administrator Links card).  This narrow rule will override the broader rule applied to the *all set.

     

     

    How To

    The easiest way to create rules is through Set cards.  You can navigate to a card's related sets through its Options Tab.

     

    Learn more about Sets and Settings here:

    Set    
    A set is a card that defines a group of cards.     Any given card belongs to multiple sets. For example, ...

    Setting    
    Settings control various options about how a card looks and behaves. Each card's Options tab has a "settings" subtab that ...

     

    Tips

     

    try it

     

    wagneers

    intro

    videos

    features

    syntax

    weekly calls

    ideas

     

    twitter

    mailing list

     

    developers

    roadmap

    next release

    tickets

    pack API

    REST API

    one-pager

     

    github

    mailing list

     

    wagn.org

    recent

    todo