update asset source #82

null pointer when using non existing workspace or project in updateAsset Source #81
This commit is contained in:
Nicolas Héron 2020-09-09 19:02:17 +02:00
commit e3375f4216
5 changed files with 491 additions and 244 deletions

View file

@ -36,7 +36,14 @@ public class DababaseContentInit {
User adminUser = userRepository.findByLogin("admin");
if (adminUser==null){
/**
* admin The administrator
* analyst The analyst
* developer The developer
* manager The manager
* user The end user
* kiemgmt KIE management user
*/
userRolesRepository.save( new UserRoles(UUID.randomUUID().toString(),"process-admin"));
userRolesRepository.save( new UserRoles(UUID.randomUUID().toString(),"manager"));
userRolesRepository.save( new UserRoles(UUID.randomUUID().toString(),"admin"));