Welcome Guest, Not a member yet? Register   Sign In
Basic usage how-to for Shield authentication
#1

I have Shield installed. Registration is working. 

Need simple instructions on how to implement for basic operation:

1. How do I set up user management: add, modify and delete accounts, assign and modify group?

2. How do I restrict access to individual pages and parts of pages?

Thanks!
Reply
#2

Hello @Tbronson , everything you need is in the documentation.

Quote:1. How do I set up user management: add, modify and delete accounts, assign and modify group?
Have you read Shield?
Have you seen the questions in section discussions?
If you have read, can you tell us which part is unclear for you?

Quote:2. How do I restrict access to individual pages and parts of pages?

You need to use filters, here's how to write filters. You can also refer to GroupFilter for more guidance on filters.
Do you need more explanation?
Iran,talesh,datamweb Heart
Reply
#3

(This post was last modified: 08-02-2022, 02:17 AM by Tbronson.)

Thanks! My question was poorly worded. I'm looking for working examples of implementation. I guess Shield is so new, maybe none have been done yet? 

I'm not a coder, and I learn how to use best by starting with working examples. For CI4, I took the code from a "Simple CRUD project for CI4" article, and modified from there by reading the CI docs.

(I did read the Shield and related CI docs. I understand how it's implemented--the set-up seems to be pretty much the same as Laravel authentication, which I'm familiar with, as far as filtering pages in routes.)
Reply
#4

Quote:maybe none have been done yet? 

Yes, what you are looking for is not currently in the documentation.
We previously had a request from someone for more clarification in the documents, which led to good changes in the documents.

I think you are the first person to look for practical examples in the implementation and use of the shield.

If the requests are suitable in this context, it seems possible to do this request.

Anyone, if you agree with the request, please let me know.
Iran,talesh,datamweb Heart
Reply




Theme © iAndrew 2016 - Forum software by © MyBB