Compare commits

..

No commits in common. "1e044e7aef20e83c3990b94df2a841fa589bdbe5" and "abbcf7786a8fe49abf0316a28e33371dae00d15a" have entirely different histories.

3 changed files with 1 additions and 15 deletions

View file

@ -30,14 +30,6 @@ class CallbackView:
oidc.Authenticator(self.request).callback()
return ''
def getGroupsForPrincipal(self, prcId):
pau = getUtility(IAuthentication, context=self.context)
groups = pau['gloops'].getGroupsForPrincipal(prcId)
gf_ws = pau.get('gloops_ws')
if gf_ws:
groups += gf_ws.getGroupsForPrincipal(prcId)
return groups
class LogoutView:

View file

@ -26,8 +26,7 @@
You are not authorized to perform this action. However, you may login as a
different user who is authorized.</p>
<p>
<a tal:attributes="href string:/auth_login?camefrom=$camefrom"
i18n:translate="">Login with Zitadel</a>
<a tal:attributes="href string:/auth_login?camefrom=$camefrom">Login with Zitadel</a>
</p>
<form action="." method="post"
tal:attributes="action request/URL">

View file

@ -11,7 +11,6 @@
import atexit
import os
import sys
from transaction import commit, abort
from zope.app import wsgi
from zope.app.authentication.principalfolder import Principal
@ -27,7 +26,6 @@ from zope.interface import Interface
from zope.lifecycleevent import ObjectCreatedEvent, ObjectModifiedEvent
from zope.publisher.browser import TestRequest as BaseTestRequest
from zope.security.management import getInteraction, newInteraction, endInteraction
from zope.site import site
#from zope.pluggableauth.plugins.principalfolder import PrincipalInfo
from cybertools.util.date import date2TimeStamp, strptime
@ -38,9 +36,6 @@ from loops.util import getObjectForUid, getUidForObject, getCatalog, reindex
os.environ['NLS_LANG'] = 'German_Germany.UTF8'
# hack for fixing error from migration (zope.app.component.SiteManagementFolder):
sys.modules['dummy'] = site
try:
import config
except ImportError: