{"id":75768,"date":"2020-01-20T12:16:43","date_gmt":"2020-01-20T06:46:43","guid":{"rendered":"https:\/\/www.vskills.in\/certification\/tutorial\/?p=75768"},"modified":"2024-04-12T14:17:18","modified_gmt":"2024-04-12T08:47:18","slug":"the-other-bits-permissions-groups-messages-and-profiles","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/","title":{"rendered":"The Other Bits: Permissions, Groups, Messages, and Profiles"},"content":{"rendered":"<p>There are a few other bits of the authentication framework that we\u2019ve only dealt with in passing. We\u2019ll take a closer look at them in the following sections.<\/p>\n<h3>Permissions and Authorization<\/h3>\n<p>Django comes with a simple permissions system. It provides a way to assign permissions to specific users and groups of users. It\u2019s used by the Django admin site, but you\u2019re welcome to use it in your own code. The Django admin site uses permissions as follows:<\/p>\n<ul>\n<li>&nbsp;Access to view the \u201cadd\u201d form and add an object is limited to users with the \u201cadd\u201d permission for that type of object.<\/li>\n<li>Access to view the change list, view the \u201cchange\u201d form and change an object is limited to users with the \u201cchange\u201d permission for that type of object.<\/li>\n<li>Access to delete an object is limited to users with the \u201cdelete\u201d permission for that type of object.<\/li>\n<\/ul>\n<p>Permissions can be set not only per type of object, but also per specific object instance. By using the has_add_permission(), has_change_permission() and has_delete_permission() methods provided by the ModelAdmin class, it\u2019s possible to customize permissions for different object instances of the same type. User objects have two many-to-many fields: groups and user_permissions. User objects can access their related objects in the same way as any other Django model.<\/p>\n<h3>Default Permissions<\/h3>\n<p>When django.contrib.auth is listed in your INSTALLED_APPS setting, it will ensure that three default permissions \u2013 add, change and delete \u2013 are created for each Django model defined in one of your installed applications. These permissions will be created for all new models each time you run manage.py migrate.<\/p>\n<h3>Groups<\/h3>\n<p>django.contrib.auth.models.Group models are a generic way of categorizing users so you can apply permissions, or some other label, to those users. A user can belong to any number of groups. A user in a group automatically has the permissions granted to that group. For example, if the group Site editors has the permission can_edit_home_page, any user in that group will have that permission.<\/p>\n<p>Beyond permissions, groups are a convenient way to categorize users to give them some label, or extended functionality. For example, you could create a group \u201cSpecial users,\u201d and you could write code that could, say, give them access to a members-only portion of your site, or send them members-only email messages.<\/p>\n<h3>Programmatically Creating Permissions<\/h3>\n<p>While custom permissions can be defined within a model\u2019s Meta class, you can also create permissions directly. For example, you can create the can_publish permission for a BookReview model in books:<\/p>\n<p>from books.models import BookReview<br>\nfrom django.contrib.auth.models import Group, Permission<br>\nfrom django.contrib.contenttypes.models import ContentType<\/p>\n<p>content_type = ContentType.objects.get_for_model(BookReview)<br>\npermission = Permission.objects.create(codename=&#8217;can_publish&#8217;,<br>\nname=&#8217;Can Publish Reviews&#8217;,<br>\ncontent_type=content_type)<\/p>\n<p>The permission can then be assigned to a User via its user_permissions attribute or to a Group via its permissions attribute.<\/p>\n<h3>Permission Caching<\/h3>\n<p>The ModelBackend caches permissions on the User object after the first time they need to be fetched for a permissions check. This is typically fine for the request-response cycle since permissions are not typically checked immediately after they are added (in the admin, for example).<\/p>\n<p>If you are adding permissions and checking them immediately afterward, in a test or view for example, the easiest solution is to re-fetch the User from the database. For example:<\/p>\n<p>from django.contrib.auth.models import Permission, User<br>\nfrom django.shortcuts import get_object_or_404<\/p>\n<p>def user_gains_perms(request, user_id):<br>\nuser = get_object_or_404(User, pk=user_id)<br>\n# any permission check will cache the current set of permissions<br>\nuser.has_perm(&#8216;books.change_bar&#8217;)<\/p>\n<p>permission = Permission.objects.get(codename=&#8217;change_bar&#8217;)<br>\nuser.user_permissions.add(permission)<\/p>\n<p># Checking the cached permission set<br>\nuser.has_perm(&#8216;books.change_bar&#8217;) # False<\/p>\n<p># Request new instance of User<br>\nuser = get_object_or_404(User, pk=user_id)<\/p>\n<p># Permission cache is repopulated from the database<br>\nuser.has_perm(&#8216;books.change_bar&#8217;) # True<\/p>\n<p># &#8230;<\/p>\n<h3>Managing Users in the Admin<\/h3>\n<p>When you have both django.contrib.admin and django.contrib.auth installed, the admin provides a convenient way to view and manage users, groups, and permissions. Users can be created and deleted like any Django model. Groups can be created, and permissions can be assigned to users or groups. A log of user edits to models made within the admin is also stored and displayed.<\/p>\n<p><strong>Creating Users<\/strong> &#8211; You should see a link to \u201cUsers\u201d in the \u201cAuth\u201d section of the main admin index page. If you click this link, you should see the user management screen.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-128678 \" src=\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg\" alt=\"\" width=\"633\" height=\"380\"><\/p>\n<p>The \u201cAdd user\u201d admin page is different than standard admin pages in that it requires you to choose a username and password before allowing you to edit the rest of the user\u2019s fields.<\/p>\n<p>If you want a user account to be able to create users using the Django admin site, you\u2019ll need to give them permission to add users and change users (i.e., the \u201cAdd user\u201d and \u201cChange user\u201d permissions). If an account has permission to add users but not to change them, that account won\u2019t be able to add users.Why? Because if you have permission to add users, you have the power to create superusers, which can then, in turn, change other users. So Django requires add and change permissions as a slight security measure.<\/p>\n<h3>Changing Passwords<\/h3>\n<p>User passwords are not displayed in the admin (nor stored in the database), but the password storage details are displayed. Included in the display of this information is a link to a password change form that allows admins to change user passwords. Once you click the link, you will be taken to the change password form.<\/p>\n<h3>Password Management in Django<\/h3>\n<p>Password management is something that should generally not be reinvented unnecessarily, and Django endeavors to provide a secure and flexible set of tools for managing user passwords. This document describes how Django stores passwords, how the storage hashing can be configured, and some utilities to work with hashed passwords.<\/p>\n<p><strong>How Django Stores Passwords<\/strong> &#8211; Django provides a flexible password storage system and uses PBKDF2 by default. The password attribute of a User object is a string in this format:<\/p>\n<p>&lt;algorithm&gt;$&lt;iterations&gt;$&lt;salt&gt;$&lt;hash&gt;<\/p>\n<p>Those are the components used for storing a User\u2019s password, separated by the dollar-sign character and consist of: the hashing algorithm, the number of algorithm iterations (work factor), the random salt, and the resulting password hash.<\/p>\n<p>The algorithm is one of a number of one-way hashing or password storage algorithms Django can use. Iterations describe the number of times the algorithm is run over the hash. Salt is the random seed used and the hash is the result of the one-way function. By default, Django uses the PBKDF2 algorithm with a SHA256 hash, a password stretching mechanism recommended by NIST. This should be sufficient for most users: it\u2019s quite secure, requiring massive amounts of computing time to break. However, depending on your requirements, you may choose a different algorithm, or even use a custom algorithm to match your specific security situation. Again, most users shouldn\u2019t need to do this \u2013 if you\u2019re not sure, you probably don\u2019t.<\/p>\n<p>If you do, please read on: Django chooses the algorithm to use by consulting the PASSWORD_HASHERS setting. This is a list of hashing algorithm classes that this Django installation supports. The first entry in this list (that is, settings.PASSWORD_HASHERS[0]) will be used to store passwords, and all the other entries are valid hashers that can be used to check existing passwords.<\/p>\n<p>This means that if you want to use a different algorithm, you\u2019ll need to modify PASSWORD_HASHERS to list your preferred algorithm first in the list. The default for PASSWORD_HASHERS is:<\/p>\n<p>PASSWORD_HASHERS = [<br>\n&#8216;django.contrib.auth.hashers.PBKDF2PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.BCryptSHA256PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.BCryptPasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.SHA1PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.MD5PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.CryptPasswordHasher&#8217;,<br>\n]\n<p>This means that Django will use PBKDF2 to store all passwords, but will support checking passwords stored with PBKDF2SHA1, bcrypt, SHA1 etc. The next few sections describe a couple of common ways advanced users may want to modify this setting.<\/p>\n<h3>Using Bcrypt with Django<\/h3>\n<p>Bcrypt is a popular password storage algorithm that\u2019s specifically designed for long-term password storage. It\u2019s not the default used by Django since it requires the use of third-party libraries, but since many people may want to use it, Django supports bcrypt with minimal effort.<\/p>\n<p>To use Bcrypt as your default storage algorithm, do the following:<\/p>\n<ul>\n<li>Install the bcrypt library. This can be done by running pip install django[bcrypt], or by downloading the library and installing it with python setup.py install.<br>\n\uf0fc Modify PASSWORD_HASHERS to list BCryptSHA256PasswordHasher first. That is, in your settings file, you\u2019d put:<\/li>\n<\/ul>\n<p>PASSWORD_HASHERS = [<br>\n&#8216;django.contrib.auth.hashers.BCryptSHA256PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.BCryptPasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.PBKDF2PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.SHA1PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.MD5PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.CryptPasswordHasher&#8217;,<br>\n]\n<p>(You need to keep the other entries in this list, or else Django won\u2019t be able to upgrade passwords).<\/p>\n<p>That\u2019s it \u2013 now your Django install will use bcrypt as the default storage algorithm.<\/p>\n<p><strong>Password truncation with BCryptPasswordHasher<\/strong> &#8211; The designers of bcrypt truncate all passwords at 72 characters which means that bcrypt(password_with_100_chars) == bcrypt(password_with_100_chars[:72]). The original BCryptPasswordHasher does not have any special handling and thus is also subject to this hidden password length limit.<br>\nBCryptSHA256PasswordHasher fixes this by first hashing the password using sha256. This prevents the password truncation and so should be preferred over the BCryptPasswordHasher. The practical ramification of this truncation is pretty marginal as the average user does not have a password greater than 72 characters in length and even being truncated at 72, the compute powered required to brute force bcrypt in any useful amount of time is still astronomical. Nonetheless, we recommend you use BCryptSHA256PasswordHasher anyway on the principle of \u201cbetter safe than sorry\u201d.<\/p>\n<p>Other bcrypt implementations &#8211; There are several other implementations that allow bcrypt to be used with Django. Django\u2019s bcrypt support is NOT directly compatible with these. To upgrade, you will need to modify the hashes in your database to be in the form bcrypt$(raw bcrypt output).<\/p>\n<p>Increasing the work factor &#8211; The PBKDF2 and bcrypt algorithms use a number of iterations or rounds of hashing. This deliberately slows down attackers, making attacks against hashed passwords harder. However, as computing power increases, the number of iterations needs to be increased.<br>\nThe Django development team have chosen a reasonable default (and will increase it with each release of Django), but you may wish to tune it up or down, depending on your security needs and available processing power. To do so, you\u2019ll subclass the appropriate algorithm and override the iterations parameters.<\/p>\n<p>For example, to increase the number of iterations used by the default PBKDF2 algorithm:<\/p>\n<ul>\n<li>&nbsp;Create a subclass of django.contrib.auth.hashers.PBKDF2PasswordHasher:<\/li>\n<\/ul>\n<p>from django.contrib.auth.hashers import PBKDF2PasswordHasher<\/p>\n<p>class MyPBKDF2PasswordHasher(PBKDF2PasswordHasher):<br>\niterations = PBKDF2PasswordHasher.iterations * 100<\/p>\n<ul>\n<li>&nbsp;Save this somewhere in your project. For example, you might put this in a file like myproject\/hashers.py.<\/li>\n<li>Add your new hasher as the first entry in PASSWORD_HASHERS:<\/li>\n<\/ul>\n<p>PASSWORD_HASHERS = [<br>\n&#8216;myproject.hashers.MyPBKDF2PasswordHasher&#8217;,<br>\n&#8216;django.contrib.auth.hashers.PBKDF2PasswordHasher&#8217;,<br>\n# &#8230; #<br>\n]\n<p>That\u2019s it \u2013 now your Django install will use more iterations when it stores passwords using PBKDF2.<\/p>\n<p><strong>Password Upgrading<\/strong> &#8211; When users log in, if their passwords are stored with anything other than the preferred algorithm, Django will automatically upgrade the algorithm to the preferred one. This means that old installs of Django will get automatically more secure as users log in, and it also means that you can switch to new (and better) storage algorithms as they get invented.<\/p>\n<p>However, Django can only upgrade passwords that use algorithms mentioned in PASSWORD_HASHERS, so as you upgrade to new systems you should make sure never to remove entries from this list. If you do, users using unmentioned algorithms won\u2019t be able to upgrade. Passwords will be upgraded when changing the PBKDF2 iteration count.<\/p>\n<p><strong>Manually Managing a User\u2019s Password<\/strong> &#8211; The django.contrib.auth.hashers module provides a set of functions to create and validate hashed password. You can use them independently from the User model.<\/p>\n<p>If you\u2019d like to manually authenticate a user by comparing a plain-text password to the hashed password in the database, use the function check_password(). It takes two arguments: the plain-text password to check, and the full value of a user\u2019s password field in the database to check against, and returns True if they match, False otherwise.<\/p>\n<p>make_password() creates a hashed password in the format used by this application. It takes one mandatory argument: the password in plain-text.<\/p>\n<p>Optionally, you can provide a salt and a hashing algorithm to use, if you don\u2019t want to use the defaults (first entry of PASSWORD_HASHERS setting). Currently supported algorithms are: &#8216;pbkdf2_sha256&#8217;, &#8216;pbkdf2_sha1&#8217;, &#8216;bcrypt_sha256&#8217;, &#8216;bcrypt&#8217;, &#8216;sha1&#8217;, &#8216;md5&#8217;, &#8216;unsalted_md5&#8217; (only for backward compatibility) and &#8216;crypt&#8217; if you have the crypt library installed.<\/p>\n<p>If the password argument is None, an unusable password is returned (one that will be never accepted by check_password()).<\/p>\n<p>is_password_usable() checks if the given string is a hashed password that has a chance of being verified against check_password().<\/p>\n\n\n<p><a href=\"https:\/\/www.vskills.in\/certification\/tutorial\/certified-django-developer\/\" target=\"_blank\" rel=\"noreferrer noopener\">Back to Tutorial<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are a few other bits of the authentication framework that we\u2019ve only dealt with in passing. We\u2019ll take a closer look at them in the following sections. Permissions and Authorization Django comes with a simple permissions system. It provides a way to assign permissions to specific users and groups of users. It\u2019s used by&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[8655],"tags":[8822],"class_list":["post-75768","page","type-page","status-publish","hentry","category-django-web-development","tag-the-other-bits"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Other Bits: Permissions, Groups, Messages, and Profiles - Tutorial<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Other Bits: Permissions, Groups, Messages, and Profiles - Tutorial\" \/>\n<meta property=\"og:description\" content=\"There are a few other bits of the authentication framework that we\u2019ve only dealt with in passing. We\u2019ll take a closer look at them in the following sections. Permissions and Authorization Django comes with a simple permissions system. It provides a way to assign permissions to specific users and groups of users. It\u2019s used by...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vskills.in\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-12T08:47:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/\",\"name\":\"The Other Bits: Permissions, Groups, Messages, and Profiles - Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg\",\"datePublished\":\"2020-01-20T06:46:43+00:00\",\"dateModified\":\"2024-04-12T08:47:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#primaryimage\",\"url\":\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Other Bits: Permissions, Groups, Messages, and Profiles\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"name\":\"Tutorial\",\"description\":\"Vskills - A initiative in elearning and certification\",\"publisher\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\",\"name\":\"Vskills\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"width\":73,\"height\":55,\"caption\":\"Vskills\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vskills.in\/\",\"https:\/\/x.com\/vskills_in\",\"https:\/\/www.linkedin.com\/company-beta\/1371554\/\",\"https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Other Bits: Permissions, Groups, Messages, and Profiles - Tutorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/","og_locale":"en_US","og_type":"article","og_title":"The Other Bits: Permissions, Groups, Messages, and Profiles - Tutorial","og_description":"There are a few other bits of the authentication framework that we\u2019ve only dealt with in passing. We\u2019ll take a closer look at them in the following sections. Permissions and Authorization Django comes with a simple permissions system. It provides a way to assign permissions to specific users and groups of users. It\u2019s used by...","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2024-04-12T08:47:18+00:00","og_image":[{"url":"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg","type":"","width":"","height":""}],"twitter_misc":{"Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/","name":"The Other Bits: Permissions, Groups, Messages, and Profiles - Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#primaryimage"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg","datePublished":"2020-01-20T06:46:43+00:00","dateModified":"2024-04-12T08:47:18+00:00","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#primaryimage","url":"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg","contentUrl":"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2016\/07\/36.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-other-bits-permissions-groups-messages-and-profiles\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"The Other Bits: Permissions, Groups, Messages, and Profiles"}]},{"@type":"WebSite","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","name":"Tutorial","description":"Vskills - A initiative in elearning and certification","publisher":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization","name":"Vskills","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","width":73,"height":55,"caption":"Vskills"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vskills.in\/","https:\/\/x.com\/vskills_in","https:\/\/www.linkedin.com\/company-beta\/1371554\/","https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw"]}]}},"_links":{"self":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/75768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/comments?post=75768"}],"version-history":[{"count":4,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/75768\/revisions"}],"predecessor-version":[{"id":83379,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/75768\/revisions\/83379"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=75768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=75768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=75768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}