Remove 'forever sessions' permission from role/user views
This has been deprecated in favor of Role.session_timeout
This commit is contained in:
parent
cf059baffa
commit
ec444d8f7d
|
@ -118,11 +118,6 @@ class CommonView(View):
|
|||
# auto-correct URLs which require trailing slash
|
||||
config.add_notfound_view(cls, attr='notfound', append_slash=True)
|
||||
|
||||
# general permissions
|
||||
config.add_tailbone_permission_group('general', "(General)", overwrite=False)
|
||||
config.add_tailbone_permission('general', 'general.forever_session',
|
||||
"Never expire sessions on server")
|
||||
|
||||
# home
|
||||
config.add_route('home', '/')
|
||||
config.add_view(cls, attr='home', route_name='home', renderer='/home.mako')
|
||||
|
|
Loading…
Reference in a new issue