[bugfix] Fix existing perm adoption

This commit is contained in:
tobi 2025-01-18 13:10:08 +01:00
commit 288cc3dbe5
6 changed files with 91 additions and 17 deletions

View file

@ -104,3 +104,7 @@ func (d *DomainBlock) SetSubscriptionID(i string) {
func (d *DomainBlock) GetType() DomainPermissionType {
return DomainPermissionBlock
}
func (d *DomainBlock) IsOrphan() bool {
return d.SubscriptionID == ""
}