Repository navigation
[16.0][IMP] auth_saml: allow certificates to be stored in different location than other attachments - #1043
Conversation
…n than other attachments
|
Hi @vincent-hatakeyama, |
|
Hello @vincent-hatakeyama
class AuthSamlProvider(models.Model):
_name = "auth.saml.provider"
_inherit = ["server.env.mixin", "auth.saml.provider"]
sp_pem_public = fields.Binary(attachment=False)
sp_pem_private = fields.Binary(attachment=False) |
|
|
This version might need a pin on some library version like I did in 7a3d40c (but with the python version compatible with 16). |
Right, I understand. Thanks for the feedback. |
|
/ocabot merge minor |
|
Sorry @vincent-hatakeyama you are not allowed to merge. To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons. If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the |
|
@OCA/tools-maintainers Hi, can someone merge this? |
|
/ocabot merge minor |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 5ab8f3b. Thanks a lot for contributing to OCA. ❤️ |
Sometimes, it can be useful to store attachments either in filestore or database, on a per-attachment basis, not following the global Odoo setting.
One example : with fs_attachment one can store some attachments in the DB and some other in the filestore.
This PR allows to be compatible with such scenarios.
Note: I can port this change in newer versions if validated