User Permissions StepThrough - rsanchez-wsu/jfiles GitHub Wiki
Permissions are not fully implemented Currently anybody who logs is given full permission How is this done?
The JFilesServerClient creation method logs on everybody as the default user. Anybody who logs on is logged on as the default user.
... Which the servers setup function sets as "tmp"
...Who was created with full permission during the servers EnsureDatabase() function.
And then this is ignored and the permission returned by the clients haspermission() function is always the value of defaultpermission which is NONE.