Commit Graph

104 Commits (e7399e692633b867bf10775b267db8d7d67ddc79)

Author SHA1 Message Date
Pierre Jaury e7399e6926 Add a development run.py script
Pierre Jaury 525089a531 Do not leak information about existing domains or users
Pierre Jaury 2cb4a44b5a Display fetchmail errors to the user, fixes
kaiyou 18253b1dd3 Merge pull request from vhf/admin-creation
Allow admin creation after initial setup
Victor Felder 3976a5b38e Allow admin creation after initial setup
Victor Felder 97d952d7f1 Fix a typo
Pierre Jaury e24da96e58 Add some documentation to access decorators
Pierre Jaury 09bec055fd Fix domain deletion permissions
Pierre Jaury c1f9b61dac Add a simple permission audit script
Pierre Jaury f8dcef22ef Fix the manager deletion behaviour
Pierre Jaury f541a951de Remove obsolete utils module
Pierre Jaury 713318f097 Clean imports and remove calls to the utils module
Pierre Jaury ee9a416696 Implement the decorator-based access control for all views
Pierre Jaury 4e4f2b8037 First shot at improving access control, related to
A couple of things are important to note for this commit:
- it only implements the new access control for alias and admin management
- the access control code is located in access.py

The idea behind simpler access control is auditability. There have been a
couple of bugs related to functions not checking permissions properly. If
checking permissions is as simple as decorating a function, exporting the
permission scheme for an audit should be simple.

Also, this still does not address the information leakage related to 404 errors
when an object does not exist, independently of permissions the user has over
the domain.
Pierre Jaury 3ea3bc1d8e Enforce permission checks for admin management
Pierre Jaury 6dc9131b97 Fix the wildcard migration script, fixes
Pierre Jaury e3197f9156 Have the admin interface listen on localhost
Pierre Jaury 8601d5b8db Fix when deleting a global admin
Pierre Jaury 0d3c75aa89 Fix a migration issue with wildcard aliases
Pierre Jaury 84769cab3e Switch to form-based confirmations, fixes
Pierre Jaury 5a69ada041 Add an action confirmation form, related to
Pierre Jaury 58337d7dd6 Set a proper default for spam thresholds
Pierre Jaury 1ce0bf2ef7 Update the user settings view with a slider
Pierre Jaury 0371da6307 Add the migration script for wildcard aliases, related to
XYunknown 6d4243ec66 Adding SQL Like format for aliases
Pierre Jaury b3d7b657ab Remove deprecated flask.ext imports
Pierre Jaury 9640d59aca Fix , serve static resources locally
Pierre Jaury 689c022a4a Get back to a single forward destination
Pierre Jaury 678a5c8065 Fix , use ellipsis for overflowing text
Pierre Jaury c07211677c Fix the default value for comma separated lists
Pierre Jaury 163494cb78 Use readonly attribute instead of disabled
Pierre Jaury 6af7a07e77 Avoid having an empty entry in destionation fields
Pierre Jaury 5581f1b0d9 Related to , fix the alias creation page
Pierre Jaury dcaf3e3473 Fix , use cascade deletion on domains
Pierre Jaury 49a1281976 Display the alias list properly
Pierre Jaury 5f36e6f4f2 Related to , implement domain specific field and database type
Pierre Jaury aace1c2d78 Get back to serving CDN assets, related to
Pierre Jaury 1673631e69 Fix the columns in the fetch list
Pierre Jaury f8a220e72a Serve local assets only
Pierre Jaury 21bec865b3 Fix permission management when editing/deleting fetches
Pierre Jaury 58ec3597ab Fix te DKIM DNS example
Pierre Jaury 6a3af51785 Add a confirmation modal when regenerating keys
Pierre Jaury 66a1b50cc9 Sign outgoing emails using DKIM
Pierre Jaury 24680957f7 Handle DKIM key generation and storage
Pierre Jaury 2fa8b879db Display domain SPF and DMARC example entries, fixes
Pierre Jaury 1c132fe92e Add migratoin scripts to the docker container
Pierre Jaury 2095b3f189 Fix the admin creation command
Pierre Jaury ec12ee9703 Fix a last typo in the migration script, fixes
Pierre Jaury cc013560d9 Perform automatic database migration
Pierre Jaury fa30a71e66 Remove deprecated initdb script