mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 22:52:25 -05:00
[bugfix] Fix existing perm adoption (#3651)
* [bugfix] Fix existing perm adoption * go fmt * test, small log fix
This commit is contained in:
parent
81b66ad7e3
commit
634d4f408f
7 changed files with 225 additions and 18 deletions
|
|
@ -43,6 +43,10 @@ type DomainPermission interface {
|
|||
GetSubscriptionID() string
|
||||
SetSubscriptionID(i string)
|
||||
GetType() DomainPermissionType
|
||||
|
||||
// Return true if this DomainPermission
|
||||
// does not have a subscription id set.
|
||||
IsOrphan() bool
|
||||
}
|
||||
|
||||
// Domain permission type.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue