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:04] Patrick Michel |
stats:roles [2011/10/14 00:29] (current) Patrick Michel [Authentication] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOCACHE~~ | ||
+ | |||
====== Roles ====== | ====== Roles ====== | ||
This page lists all the roles of the [[start]], which restrict access to the [[procedures]]. The roles are manifested in the [[schema]], under the section [[:stats:schema:account]]. | This page lists all the roles of the [[start]], which restrict access to the [[procedures]]. The roles are manifested in the [[schema]], under the section [[:stats:schema:account]]. | ||
+ | |||
+ | ===== Overview ===== | ||
{{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 ===== | ||
+ | |||
+ | {{namespace>:stats:role}} |