flash-oss / node_acl

Access control lists for node applications
MIT License
63 stars 9 forks source link

Bluebird to Native Promise? #12

Closed kaizen1 closed 2 years ago

kaizen1 commented 2 years ago

Any chance you will be removing Bluebird? Bluebird is a dead project since node supports Promises natively.

koresar commented 2 years ago

I'd love to! Can you do it for us? It should be a straightforward pull request. Except this line:

    return bluebird.reduce(demuxed, (values, obj) => this.allow(obj.roles, obj.resources, obj.permissions), null);
kaizen1 commented 2 years ago

Thanks for the response but we're only experimenting a bit with node_acl and noticed dying code i.e. bluebird. So we can't spend time on it.

koresar commented 2 years ago

Someday we'll find a volunteer. Cheers