# "Insufficient privileges to view this page." When Logging In

**URL:** <https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215>\
**Category:** Ignition\
**Created:** [September 23, 2010, 2:56pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215 "2010-09-23T14:56:41Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgreenewv](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@jgreenewv](https://forum.inductiveautomation.com/u/jgreenewv)\
**Post date:** [September 23, 2010, 2:56pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/1 "2010-09-23T14:56:41Z")

</div>

OK, I have two separate projects showing the same symptom. I am set up with Database authentication, and have users set up as either Operator, Administrator, or Engineer roles. I set up my Gateway to require one of the roles to view the Home page (these projects will be accessible over the Internet, and I wanted to lock them down as much as possible.) When a user pulls up the home page, and enters their username and password, it pops up the “Insufficient privileges to view this page.” message over the login box. However, if I then click on the Home tab at the top of the webpage, it takes me to the home page and shows the user as being logged in. If I log in with a higher role user, I can click the Status or the Configure tabs and immediately go to those pages. Has anyone else seen this behavior? It’s more of a nuisance thing at this point, rather than a functionality issue, but I’d like to get it cleared up so users don’t see the error message on login. Thanks.

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [September 24, 2010, 11:48am UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/2 "2010-09-24T11:48:29Z")

</div>

Yes, we are having the same issue.

It happens in both 7.1.5 and 7.1.6

We have another issue that I think may be part of it but not sure…

When you enter your username and password and log in, it just takes you back to the log in screen again, now if you enter your username and password you get the notice and actions you describe.

---

<div class="post-metadata">

**Author:** ![jgreenewv](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@jgreenewv](https://forum.inductiveautomation.com/u/jgreenewv)\
**Post date:** [September 24, 2010, 12:15pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/3 "2010-09-24T12:15:30Z")

</div>

One of the projects exhibiting this is 7.1.6 and the other is 7.1.4, so it must go back at least that far. I’m assuming it has something to do with the database auth, since the internal auth works fine. I’ve also seen what you are describing, but on my end, it doesn’t happen all the time. Very strange.

---

<div class="post-metadata">

**Author:** ![jgreenewv](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@jgreenewv](https://forum.inductiveautomation.com/u/jgreenewv)\
**Post date:** [September 28, 2010, 11:54am UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/4 "2010-09-28T11:54:01Z")

</div>

–Bump–

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [September 28, 2010, 12:59pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/5 "2010-09-28T12:59:13Z")

</div>

We too are using the internal database.

We are also using SSL, are you?

---

<div class="post-metadata">

**Author:** ![jgreenewv](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@jgreenewv](https://forum.inductiveautomation.com/u/jgreenewv)\
**Post date:** [September 28, 2010, 1:18pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/6 "2010-09-28T13:18:44Z")

</div>

Currently, we are not using SSL.

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [September 28, 2010, 4:32pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/7 "2010-09-28T16:32:38Z")

</div>

Well, guess SSL is not the culprit.

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [September 28, 2010, 8:26pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/8 "2010-09-28T20:26:43Z")

</div>

OK, I’ve got the lowdown on this one. This only happens when there are multiple roles that are allowed access to that gateway page. ie: Operator and Administrator. This is a known issue and our developers will get to it as soon as they can.

In the mean time, you can change the required roles to a single one (ie: HomePageAccess, ConfigPageAccess), and give that role to everyone that can log in. You shouldn’t see the ‘Insufficient privileges’ error pop up if that’s the only role you are checking for.

---

<div class="post-metadata">

**Author:** ![jgreenewv](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@jgreenewv](https://forum.inductiveautomation.com/u/jgreenewv)\
**Post date:** [September 28, 2010, 9:27pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/9 "2010-09-28T21:27:10Z")

</div>

That did the trick! Thanks, Robert.

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [September 29, 2010, 12:12pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/10 "2010-09-29T12:12:03Z")

</div>

Thanks,

I hope to make the changes later today.

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [September 29, 2010, 3:01pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/11 "2010-09-29T15:01:18Z")

</div>

Changes made, all looks good now.

Thanks again.

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [November 19, 2010, 1:25pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/12 "2010-11-19T13:25:42Z")

</div>

Do we have an ETA on this fix?

Our gateway default log in page is on the “Configure” page. Is there a way to have it be the “Home” page? That would help here. Not that I can’t work around it. Just an annoyance.

Jim

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [November 30, 2010, 3:34pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/13 "2010-11-30T15:34:38Z")

</div>

This was fixed in 7.1.7, see changelog entry:

> [@Changelog](#):
>
> Improved - Minor issue logging into the web config section when there is more than one accepted role.

---

<div class="post-metadata">

**Author:** ![fukuras](https://avatars.discourse-cdn.com/v4/letter/f/b2d939/32.png) [@fukuras](https://forum.inductiveautomation.com/u/fukuras)\
**Post date:** [December 24, 2019, 3:54pm UTC](https://forum.inductiveautomation.com/t/insufficient-privileges-to-view-this-page-when-logging-in/2215/14 "2019-12-24T15:54:16Z")

</div>

Seems to be spontaneously happening around in my office on 8.0.6 for the Gateway homepage despite being able to moments ago. Once the computer is restarted it seems to cause this problem.  
Changing the roles is not available since no one can log into the gateway status or gateway page from the internal source.
