Setting user roles based on some kind of ownership in Spring Security

后端 未结 3 1126
心在旅途
心在旅途 2021-01-12 01:58

In my Spring-based application, I currently have basic roles such as ADMIN, and USER.

Is it possible to define a user role such as PHOTO_UPLOADER, which inherits fr

3条回答
  •  甜味超标
    2021-01-12 02:18

    Welcome in the world of ACLs - access control list. This tutorial is rather old but pretty comprehensive.

提交回复
热议问题