File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
frontend/packages/core/src/shared/components/list/list-types/endpoint Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ export class EndpointListHelper {
172
172
label : 'Unregister' ,
173
173
description : 'Remove the endpoint' ,
174
174
createVisible : ( row$ : Observable < EndpointModel > ) => {
175
+ // I think if we end up using these often there should be specific create,
176
+ // edit, delete style permissions in the stratos permissions checker
175
177
return combineLatest ( [
176
178
this . sessionService . userEndpointsNotDisabled ( ) ,
177
179
this . currentUserPermissionsService . can ( StratosCurrentUserPermissions . EDIT_ADMIN_ENDPOINT ) ,
Original file line number Diff line number Diff line change @@ -570,12 +570,6 @@ func TestRegisterWithUserEndpointsEnabled(t *testing.T) {
570
570
571
571
})
572
572
})
573
-
574
- Convey ("with UserEndpointsEnabled=disabled" , func () {
575
- Convey ("register existing user endpoint" , func () {
576
- // todo user endpoints should automatically overwritten?
577
- })
578
- })
579
573
})
580
574
}
581
575
You can’t perform that action at this time.
0 commit comments