This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin.git


The following commit(s) were added to refs/heads/master by this push:
     new c94e936  fix: remove deprecated comment from RemovePolicy method 
(#1662)
c94e936 is described below

commit c94e936ac21c68f8745361e6ce1cbfbe521941a6
Author: zengwei <[email protected]>
AuthorDate: Tue Aug 4 15:49:45 2026 +0800

    fix: remove deprecated comment from RemovePolicy method (#1662)
---
 model/policy.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/model/policy.go b/model/policy.go
index ce7bc54..1d153b7 100644
--- a/model/policy.go
+++ b/model/policy.go
@@ -256,7 +256,6 @@ func (model Model) AddPoliciesWithAffected(sec string, 
ptype string, rules [][]s
 }
 
 // RemovePolicy removes a policy rule from the model.
-// Deprecated: Using AddPoliciesWithAffected instead.
 func (model Model) RemovePolicy(sec string, ptype string, rule []string) 
(bool, error) {
        ast, err := model.GetAssertion(sec, ptype)
        if err != nil {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to