python - Does Django implement user permissions in databases with models? -


in typical database, admin can assign users , can create tables can accessed particular set of users or groups. 1 can create queries can made users in database mysql.

does django provide such functionality or is django admin interface this?

i aware admin can create users , provide them permissions working app models.

django doesn't provide access database-level users / groups / permissions, because doesn't make sense typical web application connections made same database user (the 1 defined in settings.databases). note it's not shortcoming standard web applications.

what django provides application-level users / groups / permissions (cf https://docs.djangoproject.com/en/1.8/topics/auth/). have access application-level layer thru admin - of course - programmatically thru django.contrib.auth package.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -