You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
I've written a spin-off of this package as I was interested in attribute roles but felt that overriding get/set wasn't good enough for my purposes; I decided to prototype something that could use Sequelize hooks to hide attributes on find. It turns out to work pretty decently, and I figured it might be of interest to you if you might want to merge in this functionality to replace the existing override.
Currently it only works for reads, and does not guard attributes on writes, and uses a similar but not exactly alike syntax for defining the role permissions on attributes. I'd be happy to assist in merging this if needed, the source should be easy to follow, but just let me know.
Hi there,
I've written a spin-off of this package as I was interested in attribute roles but felt that overriding
get/setwasn't good enough for my purposes; I decided to prototype something that could use Sequelize hooks to hide attributes on find. It turns out to work pretty decently, and I figured it might be of interest to you if you might want to merge in this functionality to replace the existing override.Currently it only works for reads, and does not guard attributes on writes, and uses a similar but not exactly alike syntax for defining the role permissions on attributes. I'd be happy to assist in merging this if needed, the source should be easy to follow, but just let me know.
sequelize-attribute-roles