Skip to content
Snippets Groups Projects
Commit 8db5f0ed authored by ThanKarab's avatar ThanKarab
Browse files

Lower Casing the dataset when getting the role.

parent 07848647
No related branches found
No related tags found
1 merge request!11Dev role with underscore not working
......@@ -19,7 +19,7 @@ public class ClaimUtils {
}
public static String getDatasetClaim(String datasetCode) {
return "dataset_" + datasetCode;
return "dataset_" + datasetCode.toLowerCase();
}
public static boolean userHasDatasetsAuthorization(String username, Collection<? extends GrantedAuthority> authorities,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment