This is a walk through, uh, for understanding the error message. You are not authorized to use Pentana.
Please contact your administrator.
First, I'm going to show you my test setup. This is my, uh,
I'm going to show you the permissions here. So I'm in the admin screen,
I'm just going to filter on launch
And what you can see is that, uh, for each of the launch web permissions,
I've changed the general viewer so that they're all set to deny.
And today, I'm going to concentrate on 2 staff members,
uh, Karl, who's got all roles,
uh, and can so can do anything in the system,
I'm just going to remove Alex's permissions,
uh, so that Alex just has this general viewer role here.
So for each of the modules,
uh, their role is set to deny.
And so I'm going to demonstrate logging in, and I'm going to
log in to show how that appears in the applications.
The the next thing I'll show you is the login activity screen here. Uh, and you can see that I've already had one successful login,
uh, and this is me logging into the the main application,
the desktop application just here now.
So Carl is gonna log into the web application,
and we'll see as we expect. Can log in. Can see the, uh, see the modules.
And when look at the, uh, the activity log,
we can see a successful login for that ID, carl@testnet.com.
Next thing I'm going to do is log in as Alex.
Um, what I've done here is specified just the wrong password. So this login is definitely going to fail because I've given it the wrong password. We'll see what happens.
You see we get this message here, login failed.
Please check username password.
Um, now if I go to the activity log,
you see we're not seeing any message here,
and I will come back to that later. Um, but the important thing to note is
that for the wrong password in,
we don't see any kind of, uh, message here in the activity log.
If I use the correct password,
Then we do get this message here, you are not authorized to use Pentana. Please contact your administrator.
activity log, login log here,
we can see that I have logged in as Alex
So the key point here is the login has succeeded.
but because Alex does not have authorization to
Alex will see the message, you're not authorized to use Petana.
to, uh, just try logging in with a fake account. So this is someone who doesn't exist. Okay? So I'm just gonna try
logging in with this non existent account,
and we can see login failed. Please check username and password.
uh, see what's happened here in the activity log,
Now, in fact, we do track, uh, failed logins, but we can't see them here. If we go to the database server,
uh, and take a look at the failed logins table,
then we can see these 2 attempts,
We've got a line for Alex,
uh, because Alex does exist. There's a valid user ID there. So we know that this was a login
with Alex's username, but an incorrect password.
Um, and because my fake user doesn't
exist, we can't link them to a real user ID, so we see negative one as the ID value there.
But the key message is, if you see this message, you're not authorized
then your user has successfully
via Windows. Okay. So I'm going to reset
so that we're using Windows authentication
Okay. So the way things are set up here, I'm getting the Windows challenge. And again, I'm going to log in as Karl, but obviously, this is, uh, now using the Windows account.
So again, no problems logging in.
And if I take a look at the
We can see there's my successful login just here.
I'm going to log in as Alex
Again, using the Windows login.
And, again, we're seeing the same message. You're not authorized to use Pentana. Please contact your administrator.
I'm seeing a success message for Alex. And that's because Alex
but they're not authorized
to use the modules because of the permissions.
There is a difference between Windows authentication and forms authentication
if the user, uh, doesn't have a user account in Pentana. So,
um, this is my active directory, and we can see we have a user called Cameron.
And if I try and log in as Cameron,
I'll get the same message that I'm not authorized to use Pantana,
Uh, and that's because this this unique ID, this user ID just is not valid anywhere within the system. So this is a true failed login.