collective / Products.LoginLockout

Prevents endless login attempts in Plone, making it more secure.
https://pypi.python.org/pypi/Products.LoginLockout
2 stars 7 forks source link

Control panel module with configuration settings form is created #18

Closed nazrulworld closed 6 years ago

nazrulworld commented 6 years ago

Although Loginlockout settings can be update from plone registry editor but for simplicity I have created a form. This is indirectly related to #14 (steps to move portal_properties to registry)

One thing need to solve:

<browser:page
       name="loginlockout-settings"
       for="Products.CMFPlone.interfaces.IPloneSiteRoot"
       class=".controlpanel.LoginLockoutSetting"
       permission="zope2.View"  />

Permission should not be public, (I tried with cmf.ManagePortal got component lookup error)

djay commented 6 years ago

@nazrulworld how does it relate to the existing control panel which gives you stats and lets you reset users? Also isn't there a way to create a settings panel with much less code when using the registry?

nazrulworld commented 6 years ago

@djay thanks for your replay. Actually this a additional component of existing control panel. where user can easily manage Loginlockout registry settings.

nazrulworld commented 6 years ago

@djay Hi, Please have a look about new changes as per your suggestions.