Task #425
openStore CRUD
Added by Redmine Admin 6 days ago. Updated 6 days ago.
0%
Updated by Redmine Admin 6 days ago
User Stories – User Roles & Store Management
Epic: User Role Management
User Story 1: SuperAdmin Global Access
As a SuperAdmin
I want to have global access to all brands in the system
So that I can manage and control any brand without restrictions.
Acceptance Criteria:
SuperAdmin can view a list of all brands.
SuperAdmin can select and switch between brands.
SuperAdmin can perform all actions available to brand Admins.
SuperAdmin access is not limited to any single brand.
User Story 2: Default Admin Creation on Brand Registration
As a system
I want to automatically create an Admin user when a new brand registers
So that the brand owner can immediately manage their brand.
Acceptance Criteria:
A new Admin user is created by default upon brand registration.
The Admin user is automatically linked to the newly created brand.
The Admin user has no access to other brands.
User Story 3: Brand-Restricted Admin Access
As an Admin
I want to be restricted to my assigned brand
So that I can only manage data related to my brand.
Acceptance Criteria:
Admin can only view and manage their linked brand.
Admin cannot access or switch to other brands.
All Admin actions are scoped to the assigned brand.
Epic: Store Management
User Story 4: SuperAdmin Adds Stores for Any Brand
As a SuperAdmin
I want to add stores under any brand
So that I can manage store data across the entire system.
Acceptance Criteria:
SuperAdmin can select any brand while creating a store.
Store is successfully created under the selected brand.
Store is visible under the correct brand after creation.
User Story 5: Admin Adds Stores for Own Brand
As an Admin
I want to add stores only for my assigned brand
So that I can manage stores related to my business.
Acceptance Criteria:
Admin can create stores only under their linked brand.
Brand selection is not available for Admin users.
Created stores are automatically associated with the Admin’s brand.
User Story 6: Automatic Store ID Generation
As a system
I want to automatically generate a unique Store ID
So that every store can be uniquely identified without manual input.
Acceptance Criteria:
Store ID follows the format: STORE-XXXX.
The numeric value auto-increments for each new store.
Store IDs are unique across the system.
Users cannot edit or override the Store ID.
Updated by Redmine Admin 6 days ago
The same we have done in sas keys you can check with vishesh how to do this