Skip to content

Commit

Permalink
Fixed auth issue (mosip#50)
Browse files Browse the repository at this point in the history
Co-authored-by: Monobikash Das <M1045447@mindtree.com>
Signed-off-by: Sowmya Ujjappa Banakar <sowmya.61022006@ltimindtree.com>
  • Loading branch information
2 people authored and Sowmya Ujjappa Banakar committed Mar 6, 2024
1 parent 8dc87d4 commit b644a76
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


@Component("authorizedRoles")
@ConfigurationProperties(prefix = "mosip.role.packetmanager")
@ConfigurationProperties(prefix = "mosip.role.commons-packet")
@Getter
@Setter
public class AuthorizedRolesDTO {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,16 @@ packetmanager.default.priority=
mosip.kernel.auth.appids.realm.map={prereg:'preregistration',ida:'mosip',registrationclient:'mosip',regproc:'mosip',partner:'mosip',resident:'mosip'}

#adding commons-packet-manager properties
mosip.role.packetmanager.postcreatepacket=REGISTRATION_PROCESSOR
mosip.role.packetmanager.getPutcreatepacket=REGISTRATION_PROCESSOR
mosip.role.packetmanager.postaddtag=REGISTRATION_PROCESSOR
mosip.role.packetmanager.postaddorupdatetag=REGISTRATION_PROCESSOR
mosip.role.packetmanager.postdeletetag=REGISTRATION_PROCESSOR
mosip.role.packetmanager.postinfo=REGISTRATION_PROCESSOR
mosip.role.packetmanager.postgettags=REGISTRATION_PROCESSOR
mosip.role.packetmanager.postvalidatepacket=REGISTRATION_PROCESSOR
mosip.role.packetmanager.postaudits=REGISTRATION_PROCESSOR
mosip.role.packetmanager.postmetainfo=METADATA_READ
mosip.role.packetmanager.postbiometrics=BIOMETRIC_READ
mosip.role.packetmanager.postdocument=DOCUMENT_READ
mosip.role.packetmanager.postsearchfields=DATA_READ
mosip.role.packetmanager.postsearchfield=DATA_READ
mosip.role.commons-packet.putcreatepacket=REGISTRATION_PROCESSOR
mosip.role.commons-packet.postaddtag=REGISTRATION_PROCESSOR
mosip.role.commons-packet.postaddorupdatetag=REGISTRATION_PROCESSOR
mosip.role.commons-packet.postdeletetag=REGISTRATION_PROCESSOR
mosip.role.commons-packet.postinfo=REGISTRATION_PROCESSOR
mosip.role.commons-packet.postgettags=REGISTRATION_PROCESSOR
mosip.role.commons-packet.postvalidatepacket=REGISTRATION_PROCESSOR
mosip.role.commons-packet.postaudits=REGISTRATION_PROCESSOR
mosip.role.commons-packet.postmetainfo=METADATA_READ
mosip.role.commons-packet.postbiometrics=BIOMETRIC_READ
mosip.role.commons-packet.postdocument=DOCUMENT_READ
mosip.role.commons-packet.postsearchfields=DATA_READ
mosip.role.commons-packet.postsearchfield=DATA_READ

0 comments on commit b644a76

Please sign in to comment.