Just installed version 3.7.11 on Server 2008R2, chose AD authentication, entered my domain account.
Install completes, but when I navigate to site and log in using Windows Authentication, i see only the ‘dashboard’ tab. No other tabs.
If I click ‘configure dashboard’ link, i get the message:
You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: EnvironmentView
I should be the administrator. Why can’t I access admin functions?
Thanks!
Thanks for reaching out! I have an idea why your permissions may seem incorrect. When you entered your username for AD, did you do so in “NT” format (domain\username)? If Octopus doesn’t recognize the AD user’s account when logging in, a new account will automatically be created. It’s possible that you have ended up with 2 entries in the User table in the database, and are logged in to the unexpected one. Would you be able to confirm that data in the User table using the query:
Select * FROM dbo.[User];
You can also change the user to be an admin via the command line, as shown in our documentation.
Thanks for reaching out! As mentioned in earlier posts on this thread, this will occur when a user authenticates with AD, but no Octopus user exists. Octopus will automatically create a new user, and assign the user to the Everyone team, which has limited permissions by default. That will then display exactly as you’ve described when logging in with that user.
Have you tried running the following command to make the user an administrator (as shown in our documentation)?
Octopus.Server.exe service --stop
Octopus.Server.exe admin --username=YOURUSERNAME
Octopus.Server.exe service --start
Have you checked if there is a duplicate entry in the SQL database by running the following SQL query? Select * FROM dbo.[User]
And logging in with the other user if so?