This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
stats:roles [2011/09/29 00:49] Patrick Michel |
stats:roles [2011/10/14 00:29] (current) Patrick Michel [Authentication] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| {{pagequery>@:stats:role: *;title;sort=name}} | {{pagequery>@:stats:role: *;title;sort=name}} | ||
| + | ===== Authentication ===== | ||
| + | |||
| + | The basic idea is that the system restricts access to procedures based on accounts. Everyone can call guest procedures, which don't have the ''uid'' parameter. | ||
| + | |||
| + | With the //read-only// ''authenticate'' procedure, you can show the system your legitimation to call all the other methods with your ''username'': | ||
| + | |||
| + | {{page>:stats:proc:authenticate&noheader&nofooter}} | ||
| + | |||
| + | The procedures then check for themselves, if your account has the necessary right in the form of matching roles. | ||
| ===== Details ===== | ===== Details ===== | ||
| {{namespace>:stats:role}} | {{namespace>:stats:role}} | ||