Instead of organizing Purpose's configuration in user/extension/default priorities, organize the configuration in configuration sets, where each set has it's own priority and id. A priority is a number between 0 and 99, where 99 is the highest priority and 0 the lowest. An id is a symbol and should be unique. For backward compatibility and ease of use, purpose-add-user-purposes will use an entry with id user and priority 99, and purpose-add-extension-purposes will use an entry with the given id and priority 50. The default configuration will be stored as an entry with id default and priority 0.
Instead of organizing Purpose's configuration in user/extension/default priorities, organize the configuration in configuration sets, where each set has it's own priority and id. A priority is a number between 0 and 99, where 99 is the highest priority and 0 the lowest. An id is a symbol and should be unique. For backward compatibility and ease of use,
purpose-add-user-purposes
will use an entry with iduser
and priority 99, andpurpose-add-extension-purposes
will use an entry with the given id and priority 50. The default configuration will be stored as an entry with iddefault
and priority 0.