don't need to allow resigned content now that we get oneups
This commit is contained in:
parent
1592e0314b
commit
2f3ee823d9
10
fun.go
10
fun.go
|
@ -407,15 +407,5 @@ func keymatch(keyname string, actor string, what string, userid int64) bool {
|
|||
if owner == actor {
|
||||
return true
|
||||
}
|
||||
if what != "Create" {
|
||||
return false
|
||||
}
|
||||
row := stmtHasHonker.QueryRow(owner, userid)
|
||||
var id int64
|
||||
err := row.Scan(&id)
|
||||
if err == nil {
|
||||
log.Printf("allowing resigned content by %s", keyname)
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue