User scope is not working as expected

Open
#783 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
typescript
Domain
authorization

Research direction

The payload names no files, so start by finding where the admin sidebar decides which dashboard items to render and where the user's role is checked against them. Reproduce by creating a viewer-role user and confirming that items they should not access still appear. Done means a viewer sees only the sections their role allows, with a test covering that case. The thread has no maintainer answer yet, so confirm the expected behaviour before writing a fix.

Written by the indexing model from the issue text.

Description

area: auth priority: P2 question triage: needs-info

Hello Friends,

Great efforts with CMS,
Not experienced in jsx world,
I just installed the app, just wanted to know how user access suppose to work?

I created user with viewer access but still that user can see every dashboard items at sidebar, it is expected?
Can't we override admin templates?
Is it possible to create frontend with CMS?

Dominant language
TypeScript
Stars
1.8k
Forks
219
Avg merge
2d 21h
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SonicJs-Org/sonicjs

All issues in SonicJs-Org/sonicjs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.