Me2You Me2You
2.1 - Organisation admin - RBAC panel

Admin wireframes

Desktop-first because admins work at desks, shown at all three breakpoints - 375 px phone, 768 px tablet, 1280 px desktop. The desktop frame is the primary; on tablet the sidebar collapses to a condensed icon rail, and on mobile it becomes a hamburger plus bottom sheet for on-the-go moderation. Three role types - super-admin, moderator, support - with strict CRUD scoping. Six screens covered: RBAC matrix, dashboard, users CRUD, listing moderation, order management, dispute review.

Role-based access control - permissions reference

Three admin roles plus the two end-user roles. Stored in users.role as an enum. The PHP requireRole() middleware checks every admin route. Greens are full access, yellow is read-only, blank is denied.

Capability
Buyer
Seller
Support
Moderator
Super-admin
Browse listings
yes
yes
yes
yes
yes
Place order
yes
yes
-
-
-
Create listing
-
yes
-
-
-
View other users' orders
-
-
read
yes
yes
Approve / reject listings
-
-
-
yes
yes
Resolve disputes (refund / release)
-
-
-
yes
yes
Suspend / delete users
-
-
-
susp.
yes
Create / promote admins
-
-
-
-
yes
View audit log
-
-
own
yes
yes
Configure platform settings
-
-
-
-
yes
How it's enforced: every admin PHP route starts with requireRole(['super-admin','moderator']). Failing the check throws HTTP 403 and writes to audit_log. The matching navigation links are also hidden client-side based on $_SESSION['user']['role'] - but the server check is the only real gate.

Settings - roles screen at all three breakpoints

The same role manager rendered for each device. Desktop shows the full grid, tablet condenses to the two scopes that matter on a smaller screen, mobile drops to one role card at a time with a bottom sheet for navigation.

Mobile - 375px
9:41* * *
super
Pick a role to view scope
Super-admin
Full access - all 11 capabilities.
Moderator
Approve listings, resolve disputes, suspend users.
Support
Read-only on orders and audit. No money actions.
Seller
Create listings, manage own orders.
Buyer
Browse, place orders, raise disputes.
Dash
Users
Roles
Queue
More
Tablet - 768px
super
Capability - Support / Moderator / Super
Capability
Sup
Mod
Super
Approve listings
-
yes
yes
Resolve disputes
-
yes
yes
Suspend users
-
susp.
yes
Create admins
-
-
yes
View audit log
own
yes
yes
Desktop - 1280px
m2y.online/admin/settings.php?tab=roles
/ settings / roles
super-admin
Role manager
Capability
Buyer
Seller
Support
Moderator
Super-admin
Approve listings
-
-
-
yes
yes
Resolve disputes
-
-
-
yes
yes
Suspend users
-
-
-
susp.
yes
Create admins
-
-
-
-
yes
View audit log
-
-
own
yes
yes
Admin dashboard - 3 layouts
A - KPI tiles + queueTop: 4 KPI tiles. Below: "needs your attention" queue.
B - Dense ops viewWide table, KPIs squeezed into the header. For power moderators.
C - Mobile triageSingle-column action card stack: 3 things to do right now.

A - KPI + queue - all three breakpoints

Mobile - 375px
9:41* * *
super
Morning, Thandi
Users
2 481
Listings
5 829
GMV (R)
412 380
Open disp.
3
Needs attention
Dispute #4612 Power drill
Listing "iPhone 15 R200"
User Nomsa K - KYC pending
Dash
Users
Listings
Orders
Disp3
Tablet - 768px
super
Good morning, Thandi
Last 30 days
Active users
2 481
up 12%
Listings
5 829
up 4%
GMV (R)
412 380
up 18%
Open disputes
3
Needs your attention
Disp#4612 Power drillOpen
ListiPhone 15 R200Open
UserNomsa K - KYCOpen
Desktop - 1280px
m2y.online/admin/dashboard.php
/ admin
super-adminThandi N. v
Good morning, Thandi
Last 30 days v
Export
Active users
2 481
up 12% vs last mo
Active listings
5 829
up 4%
GMV (R)
412 380
up 18%
Open disputes
3
down from 7
Orders this month412 orders
Top categories
Electronics38%
Clothing22%
Home18%
Tools12%
Other10%
Needs your attention7 items in queue
TypeItemReportedAction
Dispute#4612 - Power drill (R 600.00)2 days agoReview
Listing"iPhone 15 R200" - possible scam3 hrInspect
Listing"School uniform" - duplicate flag x35 hrInspect
UserNomsa K. - KYC pending1 dayVerify

B - Dense ops queue - all three breakpoints

Mobile - 375px
9:41* * *
mod
3 things to do today
Dispute - 2 days old
#4612 Power drill (R 600.00)
Buyer claims item not received.
RefundReleaseInfo
Listing flagged
"iPhone 15 R200"
Possible scam - 3 reports.
Take downAllow
User KYC
Nomsa K.
ID upload pending review.
ApproveReject
Dash
Users
Listings
Queue
More
Tablet - 768px
mod
Moderation queue
AllDisp
IDTypeSubject
#4612dispPower drill - not receivedOpen
#L2188listiPhone 15 R200 - scam?Open
#L2174listSchool uniform - dup x3Open
#U882userNomsa K - KYC pendingOpen
#4598dispMicrowave - damagedOpen
Desktop - 1280px
m2y.online/admin/queue.php
Users 2 481 - Listings 5 829 - GMV R 412k - Open 3
moderator
Moderation queue
AllListingsDisputesUsers
IDTypeSubjectReporterAgedAction
#4612dispPower drill - not receivedbuyer2dOpen
#L2188listiPhone 15 R200 - scam?system3hOpen
#L2174listSchool uniform - dupx3userx35hOpen
#U882userNomsa K. - KYC pendingsystem1dOpen
#L2160list"Cigs" - prohibited goodssystem6hOpen
#4598dispMicrowave - damaged in transitbuyer3dOpen
#U840userSipho M. - bank verifyself2dOpen
Users - CRUD - full table + edit drawer + create form

User list - all three breakpoints

Mobile - 375px
9:41* * *
super
Search by email...
All 2 481Sellers 540Susp 14
Sipho Mokoenaactive
sipho@example.co.za - seller
Nomsa Khumaloactive
nomsa@example.co.za - buyer
Themba Dlaminisuspended
themba@example.co.za - seller
+ New user
Dash
Users
Listings
Orders
More
Tablet - 768px
super
Search
All
UserRoleStatus
Sipho M.
sipho@...
sellactEdit
Nomsa K.
nomsa@...
buyactEdit
Themba D.
themba@...
sellsuspEdit
Lerato P.
lerato@...
buyactEdit
Desktop - 1280px
m2y.online/admin/users.php
/ users
super-admin
Users - 2 481
Search by email...
All roles
+ New user
All 2 481Buyers 1 920Sellers 540Admins 21Suspended 14
NameEmailRoleStatusJoinedActions
Sipho Mokoenasipho@example.co.zaselleractiveMar 2025Edit...
Nomsa Khumalonomsa@example.co.zabuyeractiveApr 2025Edit...
Themba Dlaminithemba@example.co.zasellersuspendedJan 2025Edit...
Lerato Phirilerato@example.co.zabuyeractiveMay 2025Edit...
Thandi Ndlovuadmin@m2y.onlineadminactiveJan 2025Edit...
Showing 1-5 of 2 481
<123>

Edit user - all three breakpoints

Mobile - 375px
9:41* * *
<
super
Full name
Nomsa Khumalo
Email
nomsa@example.co.za
Role
buyer
Status
activesuspended
KYC verified
verifiedID 12 May
Cancel
Save
Tablet - 768px
m2y.online/admin/users.php?edit=882
super
Sipho M.selleract
Nomsa K.buyeract
Edit - #882x
Full name
Nomsa Khumalo
Role
buyer
Status
activesuspended
Cancel
Save
Desktop - 1280px
m2y.online/admin/users.php?edit=882
super-admin
NameEmailRoleStatus
Sipho Mokoenasipho@...selleractive
Nomsa Khumalonomsa@...buyeractive
Edit user - #882x
Full name
Nomsa Khumalo
Email
nomsa@example.co.za
Role
buyer v
Status
activesuspendeddeleted
KYC verified
verifiedvia ID 12 May
Notes (admin only)
Reset password 3x last week.
Cancel
Save
Delete user (soft)
Listing moderation - queue + detail review

Review a flagged listing - all three breakpoints

Mobile - 375px
9:41* * *
<
3 reports
iPhone 15 - R 200.00
scam likely3 hr old
listing photo
Seller
"FastDeals22"
joined 2 days ago - 0 sales
Risk signals
price < 5% marketoff-platform CTA
Audit note (required)
High-value item 99% below market.
Approve
Reject & warn
Tablet - 768px
mod
iPhone 15 - R 200.00
3 reports
photo
"Brand new iPhone 15 sealed for R200. WhatsApp me."
price < 5%off-platform
Recommended: reject
Approve
Reject
Desktop - 1280px
m2y.online/admin/listings.php?id=2188
/ moderation / #L2188
moderator
Queue (12)
"iPhone 15 R200"
3 reports - scam suspected
"School uniform M"
3x duplicate flag
"Cigs box"
prohibited goods
"Power drill"
image quality
Listing #L2188 - created 3 hr ago
iPhone 15 - R 200
3 reportsscam likely
listing photo
Description (provided by seller)
"Brand new iPhone 15 256GB sealed box for R200 only. Limited stock. WhatsApp me for fast delivery."
Seller
"FastDeals22"
joined 2 days ago - 0 sales - 0 reviews
new account
System risk signals
price < 5% marketbrand-new + huge discountoff-platform CTA (WhatsApp)brand-new account
Recommended action
Reject - high-confidence scam pattern.
Approve
Request edit
Reject & warn
Audit note (required if rejecting)
Brand-new high-value item priced 99% below market + off-platform CTA. Pattern matches phishing seller cluster.
Order management - list + detail with status workflow

Order list - all three breakpoints

Mobile - 375px
9:41* * *
mod
Search #order, email...
Paid 24Dispatched 31Disputed 3
#4821dispatched
Nomsa K. to Sipho M. - R 2 940.00
#4820paid
Eric L. to Lerato P. - R 450.00
#4818disputed
Karabo M. to Themba D. - R 600.00
Dash
Users
Listings
Orders
More
Tablet - 768px
mod
Paid 24Disp 31Done 346Disp 3
#PartiesTotalStatus
#4821Nomsa to SiphoR 2 940disp
#4820Eric to LeratoR 450paid
#4819Maria to TomR 950done
#4818Karabo to ThembaR 600disp
Desktop - 1280px
m2y.online/admin/orders.php
/ orders
moderator
Orders - 412 this month
Search #order, email...
All statuses
Export CSV
Placed 8Paid 24Dispatched 31Completed 346Disputed 3
#BuyerSellerTotalStatusMethodAged
#4821Nomsa K.Sipho M.R 2 940dispatchedpickup-pt2d
#4820Eric L.Lerato P.R 450paidcourier5h
#4819Maria N.Tom B.R 950completedcollect1d
#4818Karabo M.Themba D.R 600disputedcourier3d
#4817Lebo M.Sipho M.R 80completedpickup-pt2d
#4816Tom B.Maria N.R 750paidcourier8h
Order detail - Mobile - 375px
9:41* * *
<
dispatched
Samsung A14 + charger
Status
placedpaiddispatchedreceived
Buyer Nomsa K.
Seller Sipho M.
Delivery
Pargo Tembisa - PG-882104
TotalR 2 940.00
Mark received
Issue refund
Order detail - Tablet - 768px
dispatched
Samsung A14 + charger
placedpaiddispatchedreceiveddone
Buyer
Nomsa K.
Seller
Sipho M.
Delivery
Pargo Tembisa - PG-882104
Admin actions
Mark receivedForce completeRefund
Order detail - Desktop - 1280px
m2y.online/admin/orders.php?id=4821
/ orders / #4821
Order #4821 - placed 2 May
Samsung A14 + charger
dispatched
Status workflow
placed paid dispatched received completed
Buyer
Nomsa K. - nomsa@...
Seller
Sipho M. - sipho@...
Delivery
Pickup point - Pargo Tembisa - tracking PG-882104
Items
ItemQtyPrice
Samsung A141R 2 800
Charger1R 80
DeliveryR 60
Dispute review - split panel

Resolve a dispute - all three breakpoints

Mobile - 375px
9:41* * *
<
held
BuyerSeller
Buyer - Karabo M.
"Item not received. Pargo says no parcel under my ref."
Seller - Themba D.
"Posted via Pargo Sunday. Drop-off receipt attached."
Funds R 600.00 held - 14 days
Decision
Refund buyer (carrier loss)
Resolve & refund
Dash
Users
Orders
Disp3
More
Tablet - 768px
mod
Buyer - Karabo M.
Item not received.
Seller - Themba D.
Drop-off receipt valid.
Funds R 600.00 held - 14 days since payment.
Decision
Release to seller
Refund buyer (carrier loss)
Split 50 / 50
Resolve & refund
Desktop - 1280px
m2y.online/admin/disputes.php?id=4612
/ disputes / #4612
moderator
Buyer's side
Karabo M.
14 orders - 0 disputes prior
Claim - "Item not received"
"Tracking shows delivered to Pargo on Mon. I went there Tuesday - they say no parcel under my ref. The seller is ghosting me."
Evidence
screen 1
screen 2
photo
Seller's side
Themba D.
42 sales - 1 dispute (won)
Response
"Posted via Pargo on Sunday. Tracking shows scanned in at hub on Mon 14:02. I have my drop-off receipt attached."
Evidence
receipt
tracking
Driver approvals queue (v1.1) - pending courier applications

Review & approve couriers - desktop

Desktop - 1280px
m2y.online/admin/drivers.php?status=pending
/ drivers / approvals
super-admin
Pending courier applications
5 awaiting review - oldest 3 days
Pending 5Approved 42Rejected 7
ApplicantSuburbVehicleSubmittedStatusAction
Bongani N. - 074 221 0188SowetoBakkie3 days agoPending View IDView licenceApproveReject
Lerato M. - 082 415 9027TembisaSedan2 days agoPending View IDView licenceApproveReject
Sipho K. - 071 339 4451AlexBike2 days agoPending View IDView licenceApproveReject
Thandi P. - 083 902 6610DiepkloofHatchback1 day agoPending View IDView licenceApproveReject
Themba D. - 076 014 8829PretoriaBakkie5 hours agoPending View IDView licenceApproveReject
Bongani N. - application detailPending
Submitted documents
SA ID front
SA ID back
Driver licence
Bakkie photo
Checks
SA ID number matches✓ pass
Licence code C1 valid✓ pass
Vehicle disc current✓ pass
Police clearance (manual)Pending
Driver payouts batch (v1.1) - run weekly payroll for couriers

Select earnings & run payout - desktop

Desktop - 1280px
m2y.online/admin/payouts.php?week=2026-21
/ payouts / week 21 of 2026
super-admin
Pending driver earnings - week 21
19 to 25 May 2026 - 8 couriers eligible
Cycle: weeklyBank file: ABSA EFT
Trips completed
147
+18 vs last week
Eligible to pay
R 8 940.00
across 8 couriers
Platform fee (15%)
R 1 341.00
retained
 CourierTripsGrossFee 15%Net payoutBank
Bongani N. - Soweto22R 1 760.00R 264.00R 1 496.00FNB ****8821
Themba D. - Pretoria19R 1 520.00R 228.00R 1 292.00Capitec ****4410
Lerato M. - Tembisa18R 1 440.00R 216.00R 1 224.00ABSA ****0192
Sipho K. - Alex16R 1 280.00R 192.00R 1 088.00Capitec ****7716
Thandi P. - Diepkloof21R 1 680.00R 252.00R 1 428.00Nedbank ****3309
 Karabo R. - Diepsloot14R 1 120.00R 168.00R 952.00FNB ****2204
 Maria N. - Tembisa11R 880.00R 132.00R 748.00Capitec ****5102
 Tumi B. - Soweto9R 720.00R 108.00R 612.00ABSA ****6688
5 of 8 couriers selected. The bank file will be generated as payout_2026-w21.csv and uploaded to ABSA EFT for processing tonight at 18:00.
Dispute resolution v1.1 - evidence gallery + split-refund slider

Evidence -> split refund -> notify both parties - desktop

Desktop - 1280px
m2y.online/admin/disputes.php?id=4612&v=1.1
/ disputes / #4612 (v1.1)
moderator
Dispute #4612 - escrow held
Order R 600.00 - 14 days since payment - both parties responded
Held
Evidence gallery
Pargo receipt
Seller - 18 May
Tracking scan
Seller - 18 May
Empty locker photo
Buyer - 22 May
WhatsApp screenshot
Buyer - 23 May
Pargo response
Mod - 24 May
Insurance form
Mod - 25 May
+ Add file
upload
Buyer - Karabo M.
Claim - "Item not received"
"Tracking shows delivered to Pargo. I went there - no parcel under my ref. Seller has gone quiet."
Seller - Themba D.
Response - "Posted as agreed"
"Dropped at Pargo Sun. Receipt and scan-in proof attached. I cannot control what happens at the courier hub."
Me2You - admin-wireframes.html - 2.1 RBAC admin - 6 marks
375 px - 768 px - 1280 px - desktop primary - 3 admin roles - 9 screens (incl. v1.1 driver approvals, driver payouts & split-refund dispute)