开发者
Directus Basics Part 3 — User Roles & Permissions
This is part three of our Directus Basics series. In part one we set up our instance, and in part two we covered relationships between collections. Today we're covering access control — what determines who can see and touch your data. The Core Concepts Access control in Directus comes down to three terms: Permission — applies to one collection and one action (create, read, update, delete, or share). Can be full access, no access, or custom rules. Policy — a group of permissions bundled together, applied to users or roles. Role — defines a user's position within a project. A role can hold any number of policies, apply to any number of users, and have child roles of its own. What Happens Without a Role? If an administrator creates a user but doesn't assign a role, that user has valid login credentials but still can't access the Data Studio. Creating a role and assigning the user to it isn't enough either — logging in at that point returns a "No App Access" error. The missing piece is that the role has no access policy attached. The policy is what actually tells the role what its users can and can't do. The Access Order Access in Directus flows in a specific direction: Access Policy → Role → User In practice: define what level of access a user needs, build an access policy to match, create a role and attach that policy to it, then register the user and assign them to the role. Default Policies Every fresh Directus instance ships with two default policies: Administrator — the role you're signed in as by default, with unrestricted access to everything. Public — for data that should be visible without logging in. Think of a product catalog on an e-commerce site — forcing a login just to browse products is a poor experience. Rule of thumb: give the Public policy Read access only. Never Create, Update, or Delete. The public should be able to view data, never manipulate it. Giving a Collection Public Access Go to Settings → Access Policies → Public Under Permissions, click A
AI 资讯
Australia says Roblox hasn’t fixed its child predator problem
Roblox is promising more changes to its child safety features following testing from Australia's online safety regulator, eSafety. eSafety has been looking into concerns that the company hasn't been in compliance with Australia's Online Safety Act, including "allegedly failing to have sufficient measures in place to prevent contact between adults and children under 16." While […]
AI 资讯
FCC officially decides gigabit speeds are too good for you
Another day, another sad thing to report about our compromised Federal Communications Commission. Chairman Brendan Carr has followed through on his 2025 threat to kill long-term broadband speed goals established during the Biden administration, which aimed for eventually getting us to gigabit download and half-gigabit upload speeds. How dare we dream of spreading great download […]
AI 资讯
Roblox must make changes after failing to block adults creeping on kids
Roblox is first platform to submit to independent audits under the Online Safety Act.
产品设计
Senators demand answers from TikTok over experiment that disabled safeguards
The safeguard was designed to prevent users from being overwhelmed by harmful content, but TikTok wanted to determine whether it made the app less engaging.
AI 资讯
Meta glasses are a workplace menace
In August, Toru Hinkle was stocking shelves at their job at Target when they noticed two customers and asked if they needed any help. The men requested a price check on an item - but even after Hinkle told them the item was $20, the customers asked for the price again and again. "After a […]
开发者
Flight attendants freaked out that Google is buying tons of Spirit employee data
Bankrupt Spirit accused of selling out workers in massive data sale to Google.
AI 资讯
FCC abolishes gigabit speed goal, suggesting it is unfair to slower technologies
FCC decides 1Gbps is too fast, standard must be "technologically neutral."
AI 资讯
Disney sues FCC and its chair, escalating fight against Trump's chief censor
FCC demands "total capitulation" in Trump censorship campaign, Disney suit says.
AI 资讯
Apple squashes EU beef with new App Store rules
Apple is once again overhauling App Store rules in the European Union, which the company says will resolve its "disagreements with the Commission over business terms and alternative distribution." As part of the changes, every developer that distributes apps will be moved to a single set of business terms, and digital transactions for apps distributed […]
AI 资讯
ABC sues the FCC over Trump and Carr’s campaign of threats
ABC is suing the Federal Communications Commission over claims the agency "waged a retaliatory campaign" against its networks over the content they broadcast. In a lawsuit filed in federal court on Tuesday, ABC and its parent company Disney accuse the FCC of "punishing ABC for its speech" by threatening its broadcast licenses. It's the latest […]
科技前沿
As Wisconsin cities flee Flock, its shared camera network loses value
"Network effect" can run in reverse.
AI 资讯
Supreme Court rejects Verizon bid for $47 million refund of FCC fine
Despite loss, carriers still claim selling device-location data isn't illegal.
AI 资讯
Hidden Airtag reveals Amazon is trashing rare books to train AI
Amazon’s team uses a T. rex preparing to devour a book as its logo.
AI 资讯
Trump’s dumb border wall
About 22 miles south of the former mining town of Patagonia, Arizona, down a winding, unpaved mountain road that passes cows grazing on open range, stands a cottonwood tree believed to be at least 200 years old. The "grandmother" tree, as some locals call it, is imperiled and already showing signs of stress, almost as […]
开源项目
Apple ordered to stop scaring iPhone and iPad users away from third-party apps
Apple's changing its rules for data collection consent prompts after Germany's Federal Cartel Office accused Apple of giving the prompts a design that favored its own apps. Apple's App Tracking Transparency prompts reportedly cost social media apps nearly $10 billion when they launched with iOS 14.5, making cross-app tracking of users largely opt in. But […]
AI 资讯
Amazon is trying to crush class-action suits before they get started
On Friday, Amazon customers received an email alerting them to an update to the site's terms and conditions. Most notably, it stated that disputes would now be resolved through arbitration and said users agree to a class action waiver. Amazon framed this as a "fast and efficient" way to resolve issues, but it notably would […]
AI 资讯
Anthropic CEO says AI backlash is ‘fundamentally a crisis of trust’
Dario Amodei is pushing back against the idea that he's been painting an overly pessimistic picture of AI.
AI 资讯
Woman claims her stepfather used Grok to transform childhood photo into explicit imagery
The woman claimed that AI tools are "taking everyday life and turning it into child sexual abuse."
AI 资讯
When housing is unaffordable, this artist’s device makes pedaling harder
Justin Blinder had just been laid off when he first came up with the idea for Ground Truth. It was 2020, two weeks before covid lockdown went into effect, and the Brooklyn-based artist and technologist had no idea what the future would hold. He started working for the food delivery apps, and as he was […]