add appropriate filtering for SSH key list
- fix osusers.views.ListSshPublicKeys - add changelog entry
This commit is contained in:
parent
13160b522d
commit
dd38edd498
2 changed files with 6 additions and 0 deletions
|
@ -107,6 +107,10 @@ class ListSshPublicKeys(
|
|||
model = SshPublicKey
|
||||
context_object_name = 'keys'
|
||||
|
||||
def get_queryset(self):
|
||||
return SshPublicKey.objects.filter(
|
||||
user=self.get_hosting_package().osuser)
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(ListSshPublicKeys, self).get_context_data(**kwargs)
|
||||
context.update({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue