Limiting access to data through user permissions?

2020-07-10 Thread Will Meyers
Just need some help getting over a wall I've hit. I have a web application that whenever a user signs up, is assigned a License. This License has CustomPermissions attached to it telling what values of a field within a materialized view they have access to. I have an API that needs to filter

Custom Permissions of Django Materialized View

2020-06-10 Thread Will Meyers
Hi all, I'm building an application that uses Django Rest Framework and Django Guardian. I have to implement a permissions system such that when a user requests data from a materialized view, I need to omit certain rows from the returned queryset based on the user's group. For example, if my

Re: Custom login in django

2020-03-30 Thread Will Meyers
We'd need more info, but most likely the actual token is not being sent to the template properly. See this thread for suggestions. On Mon, Mar 30, 2020 at 11:18 AM Kushal Neupane wrote: > Forbidden (4

Re: how to calculate appreciation and depreciation with the use of forms

2020-03-21 Thread Will Meyers
We would need more information if you're having a specific issue, but general if I were building something of that sort I would be using celery to perform all the calculations. Form data can be easily serialized and passed to the task queue and the results can e

Effecient Text Search

2020-03-14 Thread Will Meyers
Hi all, Just a quick question. I'm working on a general search function for my application and just wanted your opinions before I do any sort of benchmarking. Right now I have a PostgreSQL database with a table (model) which includes a title column and summary column (both charfields). Would