✨ Add auth and audit for namespac #236
9.14% of diff hit (target 35.93%)
View this Pull Request on Codecov
9.14% of diff hit (target 35.93%)
Annotations
Check warning on line 161 in pkg/dal/dao/namespace.go
codecov / codecov/patch
pkg/dal/dao/namespace.go#L160-L161
Added lines #L160 - L161 were not covered by tests
Check warning on line 78 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L78
Added line #L78 was not covered by tests
Check warning on line 94 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L89-L94
Added lines #L89 - L94 were not covered by tests
Check warning on line 96 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L96
Added line #L96 was not covered by tests
Check warning on line 112 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L110-L112
Added lines #L110 - L112 were not covered by tests
Check warning on line 114 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L114
Added line #L114 was not covered by tests
Check warning on line 130 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L128-L130
Added lines #L128 - L130 were not covered by tests
Check warning on line 136 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L136
Added line #L136 was not covered by tests
Check warning on line 138 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L138
Added line #L138 was not covered by tests
Check warning on line 140 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L140
Added line #L140 was not covered by tests
Check warning on line 143 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L142-L143
Added lines #L142 - L143 were not covered by tests
Check warning on line 151 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L151
Added line #L151 was not covered by tests
Check warning on line 154 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L154
Added line #L154 was not covered by tests
Check warning on line 163 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L160-L163
Added lines #L160 - L163 were not covered by tests
Check warning on line 171 in pkg/dal/dao/namespace_member.go
codecov / codecov/patch
pkg/dal/dao/namespace_member.go#L169-L171
Added lines #L169 - L171 were not covered by tests
Check warning on line 197 in pkg/dal/dao/repository.go
codecov / codecov/patch
pkg/dal/dao/repository.go#L197
Added line #L197 was not covered by tests
Check warning on line 208 in pkg/dal/dao/repository.go
codecov / codecov/patch
pkg/dal/dao/repository.go#L207-L208
Added lines #L207 - L208 were not covered by tests
Check warning on line 232 in pkg/dal/dao/repository.go
codecov / codecov/patch
pkg/dal/dao/repository.go#L232
Added line #L232 was not covered by tests
Check warning on line 269 in pkg/dal/dao/repository.go
codecov / codecov/patch
pkg/dal/dao/repository.go#L269
Added line #L269 was not covered by tests
Check warning on line 45 in pkg/handlers/namespaces/namespaces_list.go
codecov / codecov/patch
pkg/handlers/namespaces/namespaces_list.go#L45
Added line #L45 was not covered by tests
Check warning on line 61 in pkg/handlers/namespaces/namespaces_members_add.go
codecov / codecov/patch
pkg/handlers/namespaces/namespaces_members_add.go#L52-L61
Added lines #L52 - L61 were not covered by tests
Check warning on line 73 in pkg/handlers/namespaces/namespaces_members_add.go
codecov / codecov/patch
pkg/handlers/namespaces/namespaces_members_add.go#L70-L73
Added lines #L70 - L73 were not covered by tests
Check warning on line 103 in pkg/handlers/namespaces/namespaces_members_add.go
codecov / codecov/patch
pkg/handlers/namespaces/namespaces_members_add.go#L103
Added line #L103 was not covered by tests
Check warning on line 106 in pkg/handlers/namespaces/namespaces_members_add.go
codecov / codecov/patch
pkg/handlers/namespaces/namespaces_members_add.go#L106
Added line #L106 was not covered by tests
Check warning on line 122 in pkg/handlers/namespaces/namespaces_members_add.go
codecov / codecov/patch
pkg/handlers/namespaces/namespaces_members_add.go#L110-L122
Added lines #L110 - L122 were not covered by tests