147
Views
10
Comments
Login Web by local database (custom)
Discussion

Hi, guys I have a problem. I want custom login by my local database. But my problem is, the link was already updated to another link screen after login. but the screen not updated. 

Like this image bellow: 


Anyone can help me ?

Regards, 

Sabdo

2024-12-17 14-32-59
Matthias Preuter
 
MVP

The Login Page and Logic is located in the Common flow; but for using Roles/Permissions you have to login (impersonate) with a System User.

Kind regards,

Matthias

2017-12-19 10-47-55
Sabdo Widiastuti

Matthias Preuter wrote:

The Login Page and Logic is located in the Common flow; but for using Roles/Permissions you have to login (impersonate) with a System User.

Kind regards,

Matthias


Hi Matthias, 

So, how the right method of my customs login to impersonate with a system user ?

Regards,

Sabdo

2024-12-17 14-32-59
Matthias Preuter
 
MVP

I think the following actions will help you:

2017-12-19 10-47-55
Sabdo Widiastuti

Matthias Preuter wrote:

I think the following actions will help you:

But in my project, the server action was like this :


2024-12-17 14-32-59
Matthias Preuter
 
MVP

You can manage dependencies by clicking "Manage Dependencies..."


And then add/remove the prevered elements:

2017-12-19 10-47-55
Sabdo Widiastuti

Matthias Preuter wrote:

You can manage dependencies by clicking "Manage Dependencies..."


And then add/remove the prevered elements:


I just remove it, and try something like this:


It's work, but when I refresh the page. My account is not saved. 

And in the header was no username. 

  

2024-12-17 14-32-59
Matthias Preuter
 
MVP

Everything in default SilkUI depends on User/Role management with default Systems Users; so when you really want to use your own users you have to change a lot and stil impersonate Systems users.

Why do you want to use your own usermanagement? It's all there in Users module.

2017-12-19 10-47-55
Sabdo Widiastuti

Matthias Preuter wrote:

Everything in default SilkUI depends on User/Role management with default Systems Users; so when you really want to use your own users you have to change a lot and stil impersonate Systems users.

Why do you want to use your own usermanagement? It's all there in Users module.

Because I need to login by role and create user by role too. 

So what the simple solution of my problem ? 

My role user is super admin and Inbound agent. 

Or if you don't mind. Can you give me the step by step like a documentation or something ?

2024-12-17 14-32-59
Matthias Preuter
 
MVP

So if you are logged in, do you want to be able to change permissions?

You could have a Role (for instance 'CanChangepermsions'); with this role you can Grant or Revoke role for SuperAdmin role.

These actions can be found under the Roles:


2017-12-19 10-47-55
Sabdo Widiastuti

Matthias Preuter wrote:

So if you are logged in, do you want to be able to change permissions?

You could have a Role (for instance 'CanChangepermsions'); with this role you can Grant or Revoke role for SuperAdmin role.

These actions can be found under the Roles:



I'm sorry, I'm new in outsystem. I juts create new role, 


But when I login with role "InboundAgent", My permission was denied. because that role has permission in "HomeInbound" screen. So, how I can resolve it ?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.