Permissions - Midkemia Online Online Help

6.22 Permissions

Our permissions system, which is used in multiple places, allows one to specify exactly who can access something, or who is affected by something. For instance, the housing system (HELP HOUSING) uses it to decide who can and cannot open a door in a house.

The permissions are actually called 'boolean expressions', but don't let this scare you - all it means is that they are either true or false. A permission might look like this (capitalization unnecessary): RANK 10 OF ISHAP. That permission would mean that people who are rank 10 in the Order of Ishap pass the permissions test. You can also combine multiple permissions, to, for instance, let in everybody on your allies list, everybody from your guild, and everybody from your city higher than, say, rank 2.

To get even more elaborate, you can also use the 'not' modifier to take the opposite of a permission string, and even the 'except' modifier to specifically exclude certain people or groups of people.


An example of a set of permissions using everything you've learned so far could be:
NOT ENEMY
RANK 10 OF ISHAP
NOT MEMBER OF KRONDOR
EXCEPT GUILDMASTER OF SPELLWEAVERS
EXCEPT NOT RANK 3 OF ELVANDAR
EXCEPT SILBAN


So, in total, the following would pass the permissions test:
  - People who aren't your enemies. (Note that this is most people.)
      OR
  - People who are rank 10 in Ishap's order.
      OR
  - Everyone who is NOT a member of Krondor.

It would prevent a person from opening the door, even if he/she passes the above
tests, UNLESS he/she matched one of the following:
  - The Guildmaster of the Spellweavers
      OR
  - Less than city rank 3 in Elvandar.
      OR
  - Is the goddess Silban.

Obviously this is a bit of a silly set of permissions, but it shows how
elaborate you can get. The following are the specific permissions that you can
use:

ANYONE
  - Anyone. Best used as a default permission from which other permissions
    are based.

PERSON
  - A specific person.

ALLY
  - Your allies.

ENEMY
  - Your enemies.

MEMBER OF <organization>
  - A member of an organization, including societies, guilds, orders,
    cities, cults, etc.
  - Important Note: You can only set membership or enemy limits on public
                    organizations and those secret organizations of which
                    you are a member. For example, a Pathfinder cannot
                    set permissions on Mocker membership or enemy status.

                    For these purposes, secret guilds, secret societies,
                    and all orders and cults are considered to be secret.

ENEMY OF <organization>
  - An enemy of an organization.

COUNCIL_MEMBER OF <city>
  - A member of the ruling council of a city.

LEADER/GUILDMASTER OF <org>
  - A city leader, a Guildmaster, or the leader of a society.

RANK <x> OF <org>
  - At least rank <x> in cities, guilds, orders or cults.

See also: HELP ORGHELP