Page permissions don't seem to work for large user bases... #2321

Closed
thebjorn opened this Issue Nov 15, 2013 · 5 comments

Projects

None yet

4 participants

@thebjorn

Eg. in the page admin, a drop-down list of all users is created, and when you have 10000 users that takes a long time (5+ secs to display admin on our production server).

Publishing a page takes from 15sec and up (often over 30secs). Our end-users are complaining.. loudly.

I've tried switching from disk cache to django-redis-cache, without much effect, however I did notice (through the redis-cli monitor command) that when publishing a page, django-cms proceeded to delete (mostly non-existing) permission cache keys. Again, for 10+K users, one-by-one.

I don't know if it is relevant, but we only have 374 pages over 5 sites.

I'd love to be able to fix this myself, but I'm not even sure where to start looking. Any advice would be greatly appreciated.

@digi604
Divio AG member

how many users are staff users and able to edit pages?

@thebjorn

23 staff users, 10 of whom are able to edit pages.

@digi604 digi604 added this to the Some Day milestone Feb 10, 2014
@FinalAngel FinalAngel closed this Oct 19, 2015
@thebjorn

Has this been fixed (or just closed)?

ps: the raw-id fix fixes the admin drop-down list, but not the user-by-user clearing of cache keys.

@FinalAngel FinalAngel referenced this issue Oct 20, 2015
Open

[META] Page permission refactor #4598

2 of 10 tasks complete
@FinalAngel
Divio AG member

@thebjorn we gathered in #4598

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment