Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
access:requirements [2011/11/12 01:55] – [Access Requirements] digitalman | access:requirements [2018/10/25 14:36] – New ARS keywords: PETSCII, COLS, ROWS, TERM digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Access Requirements ====== | ====== Access Requirements ====== | ||
- | ARS stands for Access Requirement Strings. Access requirement strings | + | Access Requirement Strings |
- | to specify the requirements of a user to have access to features/ | + | |
- | Synchronet BBS. The string can consist entirely of English keywords and | + | ===== Overview ===== |
+ | |||
+ | You will find in [[util: | ||
+ | |||
+ | Most '' | ||
+ | |||
+ | Some '' | ||
+ | |||
+ | * Operator Requirements | ||
+ | * Exemption Requirements | ||
+ | * Moderated Posting User | ||
+ | * Pre-pack QWK Requirements | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | [[util: | ||
+ | |||
+ | < | ||
+ | ╔══════════════════════════════════════════════════════════╗ | ||
+ | ║ Main Group Requirements | ||
+ | ╠══════════════════════════════════════════════════════════╣ | ||
+ | ║ │Requirement String () ║ | ||
+ | ║ │Clear Requirements | ||
+ | ║ │Set Required Level ║ | ||
+ | ║ │Set Required Flag ║ | ||
+ | ║ │Set Required Age ║ | ||
+ | ║ │Set Required Sex ║ | ||
+ | ║ │Set Required Connect Rate ║ | ||
+ | ║ │Set Required Post/Call Ratio (percentage) | ||
+ | ║ │Set Required Number of Credits | ||
+ | ║ │Set Required Upload/ | ||
+ | ║ │Set Required Upload/ | ||
+ | ║ │Set Required Time of Day ║ | ||
+ | ║ │Set Required Day of Week ║ | ||
+ | ║ │Set Required Node Number | ||
+ | ║ │Set Required User Number | ||
+ | ║ │Set Required Time Remaining | ||
+ | ║ │Set Required Days Till Expiration | ||
+ | ╚══════════════════════════════════════════════════════════╝ | ||
+ | </ | ||
+ | |||
+ | From this dialog screen, you can edit the Requirement String directly, or use the additional menu options to add the most common requirement parameters (and values) or clear the requirement string. | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | Access Requirement Strings | ||
numbers or use short-hand symbols to fit a large number of security | numbers or use short-hand symbols to fit a large number of security | ||
requirements into the limited space allowed for access requirement | requirements into the limited space allowed for access requirement | ||
Line 11: | Line 56: | ||
< | < | ||
- | usage: [not] [parm] [not] [equal] < | + | usage: [not] [param] [not] [equal] < |
where: not is the word " | where: not is the word " | ||
- | parm is one of any keywords (or short-hand symbols) that specifies | + | param |
a specific required parameter (default is LEVEL) | a specific required parameter (default is LEVEL) | ||
| | ||
Line 26: | Line 71: | ||
</ | </ | ||
- | ===== Operators ===== | + | ==== Logic Operators ==== |
+ | Logic operators may exist between one or more Boolean or Value Parameters. When no logic operator is specified, the default logic requirement is GREATER_OR_EQUAL and when multiple parameters are specified, '' | ||
^ Keyword | ^ Keyword | ||
Line 32: | Line 78: | ||
|NOT | ! |Logical negation (e.g. NOT EQUAL) | | |NOT | ! |Logical negation (e.g. NOT EQUAL) | | ||
|EQUAL | |EQUAL | ||
- | |OR | | + | |OR | |
+ | | | ||
+ | | | ||
- | ===== Boolean Parameters | + | ==== Boolean Parameters ==== |
Boolean parameters are evaluated as //true// or //false// without any specified value for comparison. | Boolean parameters are evaluated as //true// or //false// without any specified value for comparison. | ||
Line 40: | Line 88: | ||
^Keyword | ^Keyword | ||
|ACTIVE | |ACTIVE | ||
- | |ANSI | + | |ANSI |
+ | |PETSCII | ||
|DELETED | |DELETED | ||
|DOS | | BBS is running on MS-DOS | | |DOS | | BBS is running on MS-DOS | | ||
Line 57: | Line 106: | ||
|UNIX | |UNIX | ||
+ | ==== Value Parameters ==== | ||
+ | |||
+ | Value parameters require a //value// (e.g. word or number) following the parameter keyword or symbol. This parameter is compared against the criteria of the system or the user using the current comparison logic. | ||
+ | |||
+ | ^Keyword | ||
+ | |AGE |$A |User' | ||
+ | |BPS |$B |User' | ||
+ | |COLS | ||
+ | |CREDIT |$C |User' | ||
+ | |DAY |$W |Day of the week (Sun, Mon, Tue, etc. or 0-6)| | ||
+ | |DIR |$J |Current file directory (Internal code or 1-65535)| | ||
+ | |DLS | | ||
+ | |DLK | | ||
+ | |DLM | | ||
+ | |EXEMPT |$X |[[Exemptions]] flag (A-Z)| | ||
+ | |EXPIRE |$E |Days till user account expires (0-65535)| | ||
+ | |FILE_CMDS | |Number of executed file menu commands (0-65535)| | ||
+ | |FLAG |$F |User' | ||
+ | |GROUP |$M |Current message group (1-65535)| | ||
+ | |HOST | ||
+ | |IP | ||
+ | |LASTON |$Y |Days since last logon (0-65535)| | ||
+ | |LEVEL |$L |User' | ||
+ | |LIB |$I |Current file library (1-65535)| | ||
+ | |LOCAL |$G |Logged on locally (no value argument)| | ||
+ | |LOGONS | ||
+ | |MAIN_CMDS | ||
+ | |NODE |$N |Current node (1-250)| | ||
+ | |PCR |$P |User' | ||
+ | |PROT | ||
+ | |RANDOM |$Q |Random number between 0 and value argument (0-65535)| | ||
+ | |REST |$Z |[[Restrictions]] flag (A-Z)| | ||
+ | |ROWS | ||
+ | |SEX |$S |User' | ||
+ | |SHELL | ||
+ | |SUB |$H |Current message sub-board (Internal code or 1-65535)| | ||
+ | |TERM | ||
+ | |TIME |$T |Time of day (HH:MM, 0-23:59)| | ||
+ | |TLEFT |$R |User' | ||
+ | |TUSED |$O |User' | ||
+ | |UDR |$K |User' | ||
+ | |UDFR |$D |User' | ||
+ | |ULS | | ||
+ | |ULK | | ||
+ | |ULM | | ||
+ | |USER |$U |User' | ||
+ | ==== Examples ==== | ||
- | AGE $A User' | + | FIXME - need to import from [[http://synchro.net/docs/security.html]] |
- | BPS $B User' | + | |
- | CREDIT $C User' | + | |
- | DAY $W Day of the week (Sun, Mon, Tue, etc. or 0-6) | + | |
- | DIR $J Current file directory (Internal code or 1-65535) | + | |
- | EXEMPT $X Exemption flag (A-Z) | + | |
- | EXPIRE $E Days till user account expires (0-65535) | + | |
- | FILE_CMDS Number of executed file menu commands (0-65535) | + | |
- | FLAG $F User' | + | |
- | GROUP $M Current message group (1-65535) | + | |
- | LASTON $Y Days since last logon (0-65535) | + | |
- | LEVEL $L User' | + | |
- | LIB $I Current file library (1-65535) | + | |
- | LOCAL $G Logged on locally (no value argument) | + | |
- | MAIN_CMDS Number of executed main menu commands (0-65535) | + | |
- | NODE $N Current node (1-250) | + | |
- | PCR $P User' | + | |
- | RANDOM $Q Random number between 0 and value argument (0-65535) | + | |
- | REST $Z Restriction flag (A-Z) | + | |
- | SEX $S User' | + | |
- | SUB $H Current message sub-board (Internal code or 1-65535) | + | |
- | TIME $T Time of day (HH:MM, 0-23:59) | + | |
- | TLEFT $R User' | + | |
- | TUSED $O User' | + | |
- | UDR $K User' | + | |
- | UDFR $D User' | + | |
- | USER $U User' | + | |
===== See Also ===== | ===== See Also ===== |