zopefoundation / Products.PluggableAuthService

Pluggable Zope authentication / authorization framework
Other
9 stars 18 forks source link

ZODB Role Manager: Cannot remove roles in Safari #91

Closed georgpfolz closed 3 years ago

georgpfolz commented 3 years ago

In the ZMI, I can add roles to users in Safari, although the right side select field looks weird, as it's very narrow and on the very right side of the screen:

Bildschirmfoto 2021-04-22 um 12 10 43

Removing a role from a user does not work at all in Safari.

It's a minor inconvenience, as I can change to another browser to have it working.

What version of Python and Zope/Addons I am using:

dataflake commented 3 years ago

@drfho Would you mind taking a look at this? I see that all those column td elements are of class col-5, which declares with 100%. If I remove that in the browser's inspector the two select field columns get equal width, but they don't fill all the row space anymore. Other browsers don't seem to mind, but Safari breaks.

drfho commented 3 years ago

hi @dataflake, i cannot test Safari but I hope the change https://github.com/zopefoundation/Products.PluggableAuthService/pull/100 looks the same in Safari now because the construction is based on flexbox an not table;

roles_assign

mauritsvanrees commented 3 years ago

I have released the fix in 2.6.4. Note: with the old code I could still remove roles in Safari, but I only tested with Zope 4, not 5, maybe that matters. Anyway, with the new code it looks much nicer.