fix(permissions): match extension owners exactly (#10455)
This commit is contained in:
@@ -300,8 +300,7 @@ impl Connection for AcpProviderConnection {
|
||||
}
|
||||
|
||||
fn reset_permissions(&self) {
|
||||
// "" matches all extensions, clearing all stored permission decisions
|
||||
self.permission_manager.remove_extension("");
|
||||
self.permission_manager.clear_permissions();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -542,8 +542,7 @@ impl Connection for AcpServerConnection {
|
||||
}
|
||||
|
||||
fn reset_permissions(&self) {
|
||||
// "" matches all extensions, clearing all stored permission decisions
|
||||
self.permission_manager.remove_extension("");
|
||||
self.permission_manager.clear_permissions();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user