Skip to content

0.1.8

Choose a tag to compare

@xtrinch xtrinch released this 17 Apr 18:41

What's Changed

Backwards compatibilty note:
Permissions have changed (for more info see readme). Please use

AdminModule.forRoot({
  path: '/admin',
  auth: {
    authenticate: async ({ email, password }) => {
      // ...
      return {
        id: '1',
        email,
        permissions: [],
        isSuperuser: true,  // <---- this is now required
      };
    },
  },
});

Full Changelog: 0.1.7...0.1.8