You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you are Primary owner of a group, you can remove yourself using the management api, deleting the Primary Owner from the application. Once that happens you can no longer see applications in the applications tab in the console from any user even Admin in memory user.
To Reproduce :
Steps to reproduce the behaviour:
Create a user in console.
Log in with the user in the console.
Create application with that user.
Use the management api to delete the user from primary owner from that application.
Expected behaviour :
Users should not be able to remove themselves off the applications as Primary owners.
Current behaviour :
User that is Primary owner of an application, can remove himself from the application membership using the management api. Further on that all the applications are not available in the list after this happens.
Useful information :
The following error shows in the management api logs after the deletion of the primary owner of an application.
10:44:44.897 [gravitee-listener-97] ERROR i.g.r.a.s.i.ApplicationServiceImpl - The Application 9d31c1cf-185e-4156-b1c1-cf185e7156ff doesn't have any primary owner. 10:44:55.236 [gravitee-listener-101] ERROR i.g.r.a.s.i.ApplicationServiceImpl - 1 applications has no identified primary owners in this list 9d31c1cf-185e-4156-b1c1-cf185e7156ff.
Desktop :
Environment: [3.20.14]
The text was updated successfully, but these errors were encountered:
Describe the bug :
When you are Primary owner of a group, you can remove yourself using the management api, deleting the Primary Owner from the application. Once that happens you can no longer see applications in the applications tab in the console from any user even Admin in memory user.
To Reproduce :
Steps to reproduce the behaviour:
Expected behaviour :
Users should not be able to remove themselves off the applications as Primary owners.
Current behaviour :
User that is Primary owner of an application, can remove himself from the application membership using the management api. Further on that all the applications are not available in the list after this happens.
Useful information :
The following error shows in the management api logs after the deletion of the primary owner of an application.
10:44:44.897 [gravitee-listener-97] ERROR i.g.r.a.s.i.ApplicationServiceImpl - The Application 9d31c1cf-185e-4156-b1c1-cf185e7156ff doesn't have any primary owner. 10:44:55.236 [gravitee-listener-101] ERROR i.g.r.a.s.i.ApplicationServiceImpl - 1 applications has no identified primary owners in this list 9d31c1cf-185e-4156-b1c1-cf185e7156ff.
Desktop :
The text was updated successfully, but these errors were encountered: