AtlasOfLivingAustralia / data-quality-filter-service

0 stars 2 forks source link

1.1.0 added user specific profiles #1

Closed alexhuang091 closed 3 years ago

alexhuang091 commented 3 years ago

This changes includes user profile changes.

  1. QualityProfile has a new field userId, if it's null means it's a public profile, if not null, it specifies the owner of the profile
  2. Changes to frontend, so when add/edit/export/import correct userId is set (null or '' for admin, not-null for normal user).
  3. A few interceptors put in place to guarantee:
    • only admin can add/edit/export public profile
    • if normal user, the profile being processed should have same userId as currently logged in user.