FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Users, Roles, Groups
How-ToMachine Learning

Users, Roles, Groups

via Dev.to TutorialMohammed Azim J3h ago

Task 1: Create a login role report_user that can only read from the film table CREATE ROLE report_user WITH LOGIN PASSWORD 'report123'; GRANT SELECT ON film TO report_user; This creates a login user and gives only SELECT permission on film table. Task 2: report_user cannot access customer table – Fix it GRANT SELECT ON customer TO report_user; This gives read access to customer table. Task 3: Allow report_user to see only customer_id, first_name, last_name First remove full access: REVOKE SELECT ON customer FROM report_user; Then give column level access: GRANT SELECT (customer_id, first_name, last_name) ON customer TO report_user; Task 4: Create support_user who can SELECT from customer, UPDATE only email column, Cannot DELETE CREATE ROLE support_user WITH LOGIN PASSWORD 'support123'; GRANT SELECT ON customer TO support_user; GRANT UPDATE (email) ON customer TO support_user; We did not give DELETE permission, so they cannot delete. Task 5: Remove SELECT access on film from report_user

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
0 views

Related Articles

Introduction to the PineTime Pro
How-To

Introduction to the PineTime Pro

Lobsters • 10m ago

How to Turn MiroFish Into a Production Grade Polymarket Research Engine
How-To

How to Turn MiroFish Into a Production Grade Polymarket Research Engine

Medium Programming • 30m ago

Claude Code March Update: 8 Features Broken Down, With Setup Instructions
How-To

Claude Code March Update: 8 Features Broken Down, With Setup Instructions

Medium Programming • 1h ago

Adversarial Unlearning of Backdoors via Implicit Hypergradient
How-To

Adversarial Unlearning of Backdoors via Implicit Hypergradient

Dev.to • 1h ago

How-To

10 Things Every Software Developer Should Know (But Most Ignore)

Medium Programming • 2h ago

Discover More Articles