Comments (6)
@leina05 is this something along the lines of what you had in mind?
I have implemented most of it locally and then saw this ticket. It was a relatively short effort to modify my examples to align with what is implemented in the flask tutorial. I did simplify a model a bit since I did not see a use for some columns and some tables, but it should be fairly easy to extend it if the accompanying tutorial needs it.
End-to-end tests are missing, but there are some unit tests implemented.
Please let me know if you think you can use this repo or you think something should be improved.
from oso.
Hi @delicb! We recently revamped our Getting Started section to include features in the new 0.20.0 release. There are now Quickstart and Add to Your Application guides for Go!
We changed the content of the guides to use role-based access control policies, so the example apps for all languages, including Go, are completely new.
I'm going to close this issue since we now have an example for Go, but please let us know if you have feedback on the new guides and examples. You can reach me directly in Slack (@dhatch
) or anyone else on the team will see feedback in the #community or other channels.
from oso.
Wow this is awesome! Thanks so much for sharing this with us!
We'll take a look at it and see what it would take to base our “Add Oso to a Go Application” tutorial on it.
from oso.
@saolsen
Sure thing. Please let me know how you feel about the repo and if you would like something to change.
I just figured that I did not finish organization-related endpoints. I will probably do that as well tomorrow.
You can reach me on OSO slack as well if needed.
from oso.
Hey @delicb ! Just wanted to let you know we still have this on our list :)
We're in the process of doing some revamps to our Python "add to your app" guide. After that we're going to take a look at this and see what we'd need to base the go version of that guide on this.
Again, thanks for sharing this with us! We're really excited to get more Go guides on our site.
from oso.
@dhatch Thanks for letting me know. There is definitely no rush from my side :).
from oso.
Related Issues (20)
- Drop support for Python 3.6 which is end-of-life
- Invalid state: Type `User` occurs more than once as the target of a relation HOT 2
- [Feature] Support ASP.NET Blazor Web Apps
- vscode extension not working
- Amazon Linux 2 support dropped due to glibc >= 2.28 requirement HOT 1
- Vulnerable dependency found - remove_dir_all HOT 1
- Syntax highlighting bug in Polar language server HOT 2
- Planning the next major version HOT 14
- How can I define Enum fields for register_class() HOT 3
- Constantly running into "unhandled partial" error HOT 2
- Getting all users who have a specific permission / list of permissions on a specified resource HOT 1
- ci failing on trunk
- [ask] rule match issue HOT 1
- Provide a VS Code web extension entrypoint HOT 4
- Using __dirname to locate polar_wasm_api_bg.wasm causes problems in AWS nodejs lambda
- Not installable on Python 3.12 HOT 4
- global roles
- Add support for `fmt.Stringer` implementations in Go SDK Oso methods, or propagate a warning message in instances where a type defined string is passed as the `action` argument
- Feature request: support for string interpolation or concatenation in polar
- linker error when building on alpine linux 3.19 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oso.