Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Open

#300 opened on 2019年11月28日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)JavaScript (161 forks)batch import
help wantedv1

Repository metrics

Stars
 (919 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

The migration scripts do not delete the old roles in the Roles collection:

{ "_id" : "admin", "children" : [ ] } //new role is created
{ "_id" : "u9jJZoAfaEApp6QBw", "name" : "admin" } // old role is still here

Shouldn't the old roles go the way of the dodo?

コントリビューターガイド