File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/declarative_authorization Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,8 +264,8 @@ def permit!(privilege, options = {})
264
264
265
265
if conditions . key? ( :is_renewal )
266
266
rule_requires = conditions [ :is_renewal ] [ 1 ]
267
- # If options[:object] has is_renewal, we'll use that value instead of checking SpiceDB.
268
- # This allows for Blue Moon leases and others to be checked without having to make a SpiceDB call.
267
+ # If options[:object] has is_renewal, we'll use that value instead of obtaining it from SpiceDB.
268
+ # This allows for Blue Moon leases and others to be checked without having to make a SpiceDB call for the value of is_renewal .
269
269
if options [ :object ] . respond_to? ( :is_renewal )
270
270
actual_value = options [ :object ] . is_renewal
271
271
else
You can’t perform that action at this time.
0 commit comments