Stage 10 of 17

Stage 10 of 17

Security

The Employee Ideas Portal handles potentially sensitive business information. This stage configures the two-layer security model: SharePoint permissions for data access, and Power Apps logic for data visibility. It also addresses the important distinction between UI hiding and actual data protection.

Why Are We Doing This?

Security is not optional. Without it, any employee could open Microsoft Lists directly and read every idea submitted by every colleague — including sensitive ideas. The security model in this stage ensures that employees can only see what they are supposed to see, both in the app and in SharePoint.

The Two-Layer Security Model

Layer 1: SharePoint Permissions

Controls who can access the SharePoint site and the Ideas list at the data level. Enforced by SharePoint — cannot be bypassed by the app.

  • ✓ Prevents unauthorised access to the data
  • ✓ Enforced server-side
  • ✓ Cannot be bypassed by modifying the app
  • ✗ Does not distinguish between ideas from different employees

Layer 2: Power Apps Logic

Controls what data is displayed within the app. Enforced by the app — can be bypassed by accessing SharePoint directly.

  • ✓ Provides a tailored experience for each role
  • ✓ Hides sensitive ideas from employees in the app
  • ✓ Filters My Ideas to show only the logged-in user's ideas
  • ✗ Client-side only — bypassed by direct SharePoint access

UI Hiding vs Actual Permissions

The Filter() formula in the My Ideas screen hides other employees' ideas from the app. But an employee with Contribute permission can still navigate to the Ideas list in SharePoint and see all records. This is a known limitation of the v1 security model. For a production application handling truly sensitive data, you would implement item-level permissions in SharePoint so that employees can only read their own records at the data level. This is documented in the improvement backlog as IMP-001.

Configuring SharePoint Permissions

Ideas Portal — Employees

Contribute

Members: All 240 Contoso Services employees

  1. 1.Navigate to the Ideas Portal SharePoint site.
  2. 2.Select the gear icon (Settings) → "Site permissions".
  3. 3.Select "Invite people" → "Share site only".
  4. 4.In the "Add members" field, add the Microsoft 365 group that contains all employees (e.g. "All Company" or "Contoso Services Staff"). If no such group exists, add employees individually or ask the IT Manager to create a group.
  5. 5.Set the permission level to "Contribute".
  6. 6.Uncheck "Send an email invitation".
  7. 7.Select "Add".

Ideas Portal — Reviewers

Edit

Members: Tom Reeves, Sophie Clarke

  1. 1.Navigate to Site permissions.
  2. 2.Select "Invite people" → "Share site only".
  3. 3.Add tom.reeves@contoso.co.uk and sophie.clarke@contoso.co.uk.
  4. 4.Set the permission level to "Edit".
  5. 5.Select "Add".

Ideas Portal — Implementation Owners

Contribute

Members: Nominated per idea (initially none)

  1. 1.Implementation Owners are nominated per idea by Tom Reeves.
  2. 2.When a new Implementation Owner is nominated, add them to the site with Contribute permission.
  3. 3.Alternatively, add all potential Implementation Owners at go-live with Contribute permission.
  4. 4.Note: Implementation Owners have the same SharePoint permission level as Employees (Contribute). The difference in what they can do is enforced by the app, not by SharePoint.

Ideas Portal — Administrators

Full Control

Members: Priya Mehta (IT Manager)

  1. 1.Navigate to Site permissions.
  2. 2.Select "Invite people" → "Share site only".
  3. 3.Add priya.mehta@contoso.co.uk.
  4. 4.Set the permission level to "Full Control".
  5. 5.Select "Add".

Handling Sensitive Ideas

The IsSensitive field allows Reviewers to flag an idea as commercially sensitive. Sensitive ideas are hidden from the Completed Ideas gallery using a filter in the gallery Items property:

Items: Filter(Ideas, Status = "Complete", IsSensitive = false)

This is app-level filtering only. A Reviewer or Administrator can see sensitive ideas in the Reviewer Queue and in the All Ideas view. Employees with direct SharePoint access can also see sensitive ideas in the list — this is the known limitation described above.

For truly sensitive ideas (e.g. a proposed acquisition or a new service line not yet announced), the Reviewer should consider whether the idea should be submitted through a different channel rather than the portal.

Least Privilege Principle

✓

Employees have Contribute, not Edit

Contribute allows creating new items but not editing all fields on existing items. This prevents employees from editing other employees' ideas in SharePoint. Edit would allow editing any item in the list.

✓

Reviewers have Edit, not Full Control

Edit allows reading and editing all items. Full Control would allow changing permissions and deleting the list itself. Reviewers do not need these capabilities.

✓

Only the Administrator has Full Control

Full Control is restricted to the IT Manager. This limits the blast radius if an account is compromised.

✓

Flow connections use the flow owner's identity

Power Automate flows run using the connection of the flow owner. Ensure the flow owner has at least Edit permission on the Ideas list. If the flow owner leaves the company, the flows will stop working — this is why the IT Manager is added as a co-owner.

Security Checks

SC-001

Employee can submit an idea

Steps

Log in as a regular employee (not a Reviewer or Administrator). Open the Power Apps app. Submit a test idea. Verify the idea appears in My Ideas.

Expected Result

Idea submitted successfully. Appears in My Ideas.

SC-002

Employee cannot see other employees' ideas in My Ideas

Steps

Log in as Employee A. Submit an idea. Log in as Employee B. Open My Ideas. Verify Employee B cannot see Employee A's idea.

Expected Result

My Ideas shows only the logged-in employee's ideas.

SC-003

Employee cannot access the Reviewer Queue

Steps

Log in as a regular employee. Verify the "Reviewer Queue" button is not visible on the Home Screen. Attempt to navigate directly to ReviewerQueueScreen by modifying the URL (if possible). Verify the screen is not accessible.

Expected Result

Reviewer Queue button not visible. Screen not accessible to employees.

SC-004

Reviewer can see all ideas in the Reviewer Queue

Steps

Log in as a Reviewer (Tom Reeves or Sophie Clarke). Open the Reviewer Queue. Verify all submitted ideas are visible, including ideas from other employees.

Expected Result

All ideas visible in the Reviewer Queue.

SC-005

Sensitive ideas are not visible to employees

Steps

Log in as a Reviewer. Mark an idea as Sensitive (IsSensitive = Yes). Log in as a regular employee. Open the Completed Ideas gallery. Verify the sensitive idea does not appear.

Expected Result

Sensitive idea not visible to employees.

SC-006

Employee cannot change the status of an idea

Steps

Log in as a regular employee. Open an idea in Idea Details. Verify there is no status change control. Attempt to edit the list record directly in SharePoint. Verify the employee can read but not edit the Status field.

Expected Result

No status change control in Idea Details. Status field not editable by employees in SharePoint (Contribute permission allows creating items but not editing all fields — verify this behaviour in your environment).

SC-007

Internal Notes not visible to employees

Steps

Log in as a Reviewer. Add an internal note to an idea. Log in as the submitter of that idea. Open the Idea Details screen. Verify the Internal Notes section is not visible.

Expected Result

Internal Notes section not visible to employees.

Stage Complete — What You Now Have

  • ✓Two-layer security model documented (SharePoint + app logic)
  • ✓4 permission groups configured with step-by-step instructions
  • ✓Sensitive ideas handling explained
  • ✓Least privilege principle applied to all groups
  • ✓7 security checks executed and verified
  • ✓Known limitation documented: client-side filtering only for employee data isolation
NextTest

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project