frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: An Intuitive Go Library for Handling Complex Permission/RBAC

https://github.com/LimitlessDonald/Permitta
1•LimitlessDonald•1d ago
Permitta is an intuitive go library, which aims to help handle any kind of permission/access control in a simple and easy to understand way, even for beginners .

The fact that its intuitive doesn't take away how powerful it is to handle very complex and frequently used permission scenarios in different types of projects .

Why Almost everything we do in computing these days needs permissions . There are hundreds of permission/access control systems and methods, many of them are not intuitive .

I wanted to create a system that would cover most popular use cases, where you can get started in minutes, whether you are a novice or very experienced programmer, yet still powerful enough to handle complex permissions .

I took inspiration from the linux permission system e.g rwxr--r-x, but took it some steps further and made it more intuitive

I wanted to be able to handle permissions/access control in a SaaS (or any application), with multiple access levels and users

I wanted to be able to control access for actions including Create, Read, Update, Delete, Execute (remember CRUDE - more on this later), I wanted to be able to control how much of each of those actions can be carried out by each user, and how frequently within a specific period of time they can carry out those actions .

I wanted to create a permission/access control system with no dependencies, except the go standard library

I wanted to enjoy writing and reading permissions/access control

I wanted to be able to write extremely complex permissions/access control for a user/org/entity on a single line

I did not want to have to write complex DB queries to verify permission and resource usage, which can get very tedious as an application gets more complex.

Features Ability to set create, read, update , delete, execute (CRUDE) operations permissions Ability to control start and end time for permissions Ability to set quota limit (Quota is how many of a certain resource can exist at any given time) Ability to set batch limit Ability to set time based limits (all time , per minute, per hour, per day, per week, per fortnight, per month, per quarter, per year, custom time duration [in progress] ) Ability to verify permission against usage (you would need to store usage in your preferred DB ) Ability to verify permissions based on entity i.e (user, role, group, domain, organisation) Ability to set entity permission order (the flow/order in which the permission should be checked e.g org->domain->group->role->user)

https://github.com/LimitlessDonald/Permitta

Archaeologists find evidence of Europe's oldest lake settlement

https://www.independent.co.uk/news/science/archaeology/lake-ohrid-albania-oldest-human-settlement-b2790762.html
1•Bluestein•1m ago•0 comments

WWII Veteran Recalls Discovering a Nazi Concentration Camp [video]

https://www.youtube.com/watch?v=LGWHf8Pe320
1•thomassmith65•7m ago•0 comments

Science is almost ready to "redefine the second" with this new research

https://www.neowin.net/news/science-is-almost-ready-to-redefine-the-second-with-this-new-research/
1•Bluestein•9m ago•0 comments

Estimating the carbon footprint of ChatGPT inference

https://charmindustrial.com/blog/can-i-use-chatgpt-if-i-care-about-the-climate
2•n2parko•13m ago•0 comments

Hygiene Hypothesis

https://en.wikipedia.org/wiki/Hygiene_hypothesis
1•thunderbong•13m ago•0 comments

The AI Mirage

https://www.theatlantic.com/technology/archive/2025/07/why-are-computers-still-so-dumb/683524/
1•outrun86•21m ago•0 comments

I Once Thought Europeans Lived as Well as Americans. Not Anymore

https://www.thefp.com/p/i-once-thought-europeans-lived-as-well-americans
1•petermcneeley•24m ago•0 comments

No. The C++ mascot is not a diseased rat named Keith

https://lunduke.locals.com/post/5111104/no-the-c-mascot-is-not-a-diseased-rat-named-keith
1•ChadNauseam•28m ago•0 comments

Journalist Karen Hao on Sam Altman, OpenAI and the "Quasi-Religious" Push for AI [video]

https://www.youtube.com/watch?v=s4hZz9Vd0lY
2•mgh2•36m ago•0 comments

A curated directory for developers to discover and showcase tech products

https://devhub.best
1•allentown521•37m ago•1 comments

Python Maps

https://github.com/symmy596/PythonMaps
2•fzliu•38m ago•0 comments

Show HN: Rate Reddit – before you get your feelings hurt

https://ratereddit.com
1•rodgetech•38m ago•0 comments

The Inerter: A Retrospective

https://www.annualreviews.org/content/journals/10.1146/annurev-control-053018-023917
2•teleforce•40m ago•0 comments

China Moves Forward with $167bn, 70 Gigawatt Dam

https://www.bloomberg.com/news/articles/2025-07-21/china-moves-ahead-with-167-billion-tibet-mega-dam-despite-risks
3•master_crab•47m ago•1 comments

AI model converts hospital records into text for better emergency care decisions

https://medicalxpress.com/news/2025-07-ai-hospital-text-emergency-decisions.html
1•PaulHoule•52m ago•0 comments

The future of climate change may not be what you think

https://www.readtangle.com/future-of-climate-change/
1•debo_•54m ago•2 comments

Show HN: NetXDP – Kernel-Level DDoS Protection and Traffic Manager with eBPF/XDP

2•gaurav1086•1h ago•0 comments

HTTP/1.1 Must Die – The Desync Endgame Begins

https://http1mustdie.com/
3•pabs3•1h ago•0 comments

The Epic Battle for AI Talent–With Exploding Offers, Secret Deals and Tears

https://www.wsj.com/tech/ai/meta-ai-recruiting-mark-zuckerberg-sam-altman-140d5861
1•brandonb•1h ago•0 comments

Hi guys, any thought on this project?

https://founder-hub-waitlist.vercel.app/
3•PaulKHO•1h ago•6 comments

Geocities Backgrounds

https://pixelmoondust.neocities.org/archives/archivedtiles
1•marcodiego•1h ago•0 comments

How Higher education failed America's poor

https://www.washingtonpost.com/opinions/2025/07/20/college-degree-value-poor-inequality/
8•pseudolus•1h ago•5 comments

this let you deploy your LLM agents into production with one click

https://agentainer.io/
1•cyw•1h ago•1 comments

Stem cells prioritize wound healing over hair growth

https://www.cell.com/cell-metabolism/fulltext/S1550-4131(25)00266-9
1•bookofjoe•1h ago•0 comments

Using Virtual Machines on macOS/Linux with Tart

https://developer.mamezou-tech.com/en/blogs/2024/02/12/tart-vm/
2•srid•1h ago•0 comments

Ask HN: What is the biggest waste of money?

5•alganet•1h ago•12 comments

Transfer.it – effortless file sharing, powered by MEGA

https://blog.mega.io/introducing-transfer-it
2•dotcoma•1h ago•2 comments

Maybe(?) Composable Continuation in C

https://old.reddit.com/r/C_Programming/comments/1m55ojy/maybe_composable_continuation_in_c/
1•Trung0246•1h ago•0 comments

Log by time, not by count

https://johnscolaro.xyz/blog/log-by-time-not-by-count
14•JohnScolaro•1h ago•8 comments

Thingiverse is cracking down on gun-related models using a new automated system

https://www.tomshardware.com/3d-printing/ghost-gun-proliferation-spurs-crackdown-at-thingverse-the-worlds-largest-3d-printer-model-design-repository-lawmakers-also-ask-3d-printer-vendors-to-create-ai-based-systems-to-detect-and-block-gun-prints
3•MrMember•1h ago•0 comments