Hide subs from servers where user is not a member #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When authenticated, any user can see all subscriptions.
Update the API so only the proper subscriptions are shown.
Requirements have changed, now it's the server that has to be hidden, as subscriptions are hidden behind selecting a server.
Therefor only the servers have to be hidden in the UI. Logic for blocking access to the subscriptions should be implemented with the AI also.
I've implemented a filter in the querysets for the subscription api, so that the user only sees subscriptions with a guild_id, matching one of the user's saved guilds.
What still needs to be done, is server-side processing for defining and saving the user's saved guilds, right now the data comes from the client, trusting that there is no tampering.
I'm sure this is completed