[allura:tickets] #8555 check blocked users better

2024-04-03 Thread Dave Brondsema
- **status**: in-progress --> review



---

**[tickets:#8555] check blocked users better**

**Status:** review
**Milestone:** unreleased
**Created:** Tue Apr 02, 2024 09:39 PM UTC by Dave Brondsema
**Last Updated:** Tue Apr 02, 2024 09:42 PM UTC
**Owner:** Dave Brondsema


If a user is blocked at the tool level, they still may be able to post in 
discussion forums that have additional ACLs.  E.g. a forum within the 
discussion tool, which has anonymous posting allowed, or has developer only 
posting.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8556 deprecate and remove has_access(..)() syntax

2024-04-03 Thread Dave Brondsema
- **status**: open --> review
- **Comment**:

db/8556 on allura, forgehg, and forgepastebin

db/8556-breaking-removal needs to be merged later, after we do a release and 
give anyone a chance to update their code.  You can review and test it though.



---

**[tickets:#8556] deprecate and remove has_access(..)() syntax**

**Status:** review
**Milestone:** unreleased
**Created:** Wed Apr 03, 2024 06:09 PM UTC by Dave Brondsema
**Last Updated:** Wed Apr 03, 2024 06:09 PM UTC
**Owner:** nobody


`has_access` returns a TruthyCallable which can be treated as a bool or called 
again, which is confusing.  There's lots of `has_access(...)()` syntax that can 
be cleaned up now.  

After cleanup is done (including within external plugins/extensions), we can 
then remove the TruthyCallable and predicate behavior of has_access, and have 
it return a simple bool.

Code changes necessary:
- `has_access(...)()` -> `has_access(...)`
- `has_access(c.app, 'read')(user=user)` -> `has_access(c.app, 'read', user)`
- `require(has_access(c.app, 'read'))` -> `require_access(c.app, 'read'))`


If `require(...)`  is used in other situations, ideally it should be changed 
completely.  Or, change from a callable to a bool like `require(lambda: foo == 
bar)` -> `require(foo == bar)` but this cannot be done ahead of time, it mus be 
done at the time of full removal.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8556 deprecate and remove has_access(..)() syntax

2024-04-03 Thread Dave Brondsema



---

**[tickets:#8556] deprecate and remove has_access(..)() syntax**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Apr 03, 2024 06:09 PM UTC by Dave Brondsema
**Last Updated:** Wed Apr 03, 2024 06:09 PM UTC
**Owner:** nobody


`has_access` returns a TruthyCallable which can be treated as a bool or called 
again, which is confusing.  There's lots of `has_access(...)()` syntax that can 
be cleaned up now.  

After cleanup is done (including within external plugins/extensions), we can 
then remove the TruthyCallable and predicate behavior of has_access, and have 
it return a simple bool.

Code changes necessary:
- `has_access(...)()` -> `has_access(...)`
- `has_access(c.app, 'read')(user=user)` -> `has_access(c.app, 'read', user)`
- `require(has_access(c.app, 'read'))` -> `require_access(c.app, 'read'))`


If `require(...)`  is used in other situations, ideally it should be changed 
completely.  Or, change from a callable to a bool like `require(lambda: foo == 
bar)` -> `require(foo == bar)` but this cannot be done ahead of time, it mus be 
done at the time of full removal.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Community over Code EU 2024: Start planning your trip!

2024-04-03 Thread Ryan Skraba
[Note: You're receiving this email because you are subscribed to one
or more project dev@ mailing lists at the Apache Software Foundation.]

Dear community,

We hope you are doing great, are you ready for Community Over Code EU?
Check out the featured sessions, get your tickets with special
discounts and start planning your trip.

Save your spot! Take a look at our lineup of sessions, panelists and
featured speakers and make your final choice:

* EU policies and regulations affecting open source specialists working in OSPOs

The panel will discuss how EU legislation affects the daily work of
open source operations. Panelists will cover some recent policy
updates, the challenges of staying compliant when managing open source
contribution and usage within organizations, and their personal
experiences in adapting to the changing European regulatory
environment.

* Doing for sustainability, what open source did for software

In this keynote Asim Hussain will explain the history of Impact
Framework, a coalition of hundreds of software practitioners with
tangible solutions that directly foster meaningful change by measuring
the environmental impacts of a piece of software.

Don’t forget that we have special discounts for groups, students and
Apache committers. Visit the website to discover more about these
rates.[1]

It's time for you to start planning your trip. Remember that we have
prepared a “How to get there” guide that will be helpful to find out
the best transportation, either train, bus, flight or boat to
Bratislava from wherever you are coming from. Take a look at the
different options and please reach out to us if you have any
questions.

We have available rooms -with a special rate- at the Radisson Blu
Carlton Hotel, where the event will take place and at the Park Inn
Hotel which is only 5 minutes walking from the venue. [2] However, you
are free to choose any other accommodation options around the city.

See you in Bratislava,
Community Over Code EU Team

[1]: https://eu.communityovercode.org/tickets/ "Register"
[2]: https://eu.communityovercode.org/venue/ "Where to stay"


Participate in the ASF 25th Anniversary Campaign

2024-04-03 Thread Brian Proffitt
Hi everyone,

As part of The ASF’s 25th anniversary campaign[1], we will be celebrating
projects and communities in multiple ways.

We invite all projects and contributors to participate in the following
ways:

* Individuals - submit your first contribution:
https://news.apache.org/foundation/entry/the-asf-launches-firstasfcontribution-campaign
* Projects - share your public good story:
https://docs.google.com/forms/d/1vuN-tUnBwpTgOE5xj3Z5AG1hsOoDNLBmGIqQHwQT6k8/viewform?edit_requested=true
* Projects - submit a project spotlight for the blog:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=278466116
* Projects - contact the Voice of Apache podcast (formerly Feathercast) to
be featured: https://feathercast.apache.org/help/
*  Projects - use the 25th anniversary template and the #ASF25Years hashtag
on social media:
https://docs.google.com/presentation/d/1oDbMol3F_XQuCmttPYxBIOIjRuRBksUjDApjd8Ve3L8/edit#slide=id.g26b0919956e_0_13

If you have questions, email the Marketing & Publicity team at
mark...@apache.org.

Peace,
BKP

[1] https://apache.org/asf25years/

[NOTE: You are receiving this message because you are a contributor to an
Apache Software Foundation project. The ASF will very occasionally send out
messages relating to the Foundation to contributors and members, such as
this one.]

Brian Proffitt
VP, Marketing & Publicity
VP, Conferences