By dadkinson on
I don't understand why there is no 'admin' user role by default. How do I set up my 'true' admin permissions etc? I had to add an extra role in order to get the degree of granularity I want:
'admin user' (which isn't the true admin that I first logged in as)
I'm trying to make the "Who's online" block only visible to me as the 'true' admin, but I find I can only do that that if I make it visible on the path admin/user.
Perhaps I, as the installer/owner of the website account, am misunderstanding my role as the Drupal admin, responsible for content/blocks/modules etc. Should I be logging in as 'admin' or log in as 'darren', which has my newly-created 'admin' role??
Comments
The first user is always
The first user is always special in Drupal. They are the administrator. If you want to assign permissions, or block visibility, etc., that's why you add roles. If you want an admin role, do exactly what you did...create it. Then assign all of the Permissions to it. Now anyone in that role can administer the site. You can also do block visibility by roles, so you don't need to do paths.
You might also look into the Admin Role module. It simplifies keeping permissions assignments updated for the role you created for your administrators.
Thanks for your help. I have
Thanks for your help.
I have to say the whole admin thing with Drupal is quite confusing/nonintuitive to me, and I think that's because I've been using the 'special' first log in user as if it was an admin user. It seems to be outside the domain of the thing it is controlling in some ways (it has no role), yet in other ways it is inside (I can change password, email address etc). To me this is unnecessarily confusing.
User 1 is a user, like any
User 1 is a user, like any other. It just has all rights assigned to it automatically, without being in any particular role. Consider it an invisible, unalterable administrator role. That makes it an administrator.