websauna.system.core.root module¶
-
class
websauna.system.core.root.
Root
(request)[source]¶ Bases:
websauna.system.core.traversal.Resource
Pyramid routing root with default permission set up.
These permission mappings are used unless you supply your own traversing context. For the sake of simplicity, we only declare one permission named
authenticated
which is given to all authenticated users.Permissions are as:
authenticated: Pseudopermission given to all authenticated users
superuser: equal to have SSH access to the website - can execute arbitrary Python code
For more information see Permissions.